1 |
Timothy A. Holmes <tholmes <at> mcaschool.net> writes: |
2 |
|
3 |
|
4 |
> I have a snort server that I am building that has 2 nics in it |
5 |
> One is a 10/100 realtec |
6 |
> The other is a 10/100/1000 Intel Pro1000 |
7 |
> As the machine built, the realtech is eth0 and the intel is eth1 |
8 |
> |
9 |
> I would like to reverse those two names, so that snort can use the |
10 |
> higher capacity card for its sniffer. I am not quite sure where to look |
11 |
> even to begin this process. |
12 |
|
13 |
Hello Timothy, |
14 |
|
15 |
I had a similar need. In fact which nic(of the 4 nics) was labled with |
16 |
eth0-eth3 was inconsistent upon reboot. |
17 |
|
18 |
So I used the mac_eth statements like so: |
19 |
|
20 |
mac_eth0="00:50:DA:31:31:AB" |
21 |
iface_eth0="192.168.14.220 broadcast 192.168.14.255 netmask 255.255.255.0" |
22 |
|
23 |
and so on for each nic. |
24 |
|
25 |
This syntax has not been updated with the recent changes, but it |
26 |
works splendidly for nailing down a given ip to a give ethernet mac |
27 |
the /etc/conf.d/net.example file should contain the latest |
28 |
syntax on how to nail down a desired IP with the mac address. |
29 |
|
30 |
|
31 |
hth, |
32 |
|
33 |
|
34 |
James |
35 |
|
36 |
|
37 |
|
38 |
-- |
39 |
gentoo-user@g.o mailing list |