1 |
Hello, |
2 |
|
3 |
I've set up multiple ethernet cards before, where I use the cards |
4 |
MAC address to ensure that the correct ethernet card is assigned |
5 |
which ip address in a mulit nic environment server. |
6 |
|
7 |
I symlinked net.lo as usual to all of the cards and the conf.d/net |
8 |
file looks like this: |
9 |
|
10 |
mac_eth0="00:4F:49:01:6F:7A" |
11 |
mac_eth1="00:4F:49:01:8A:BF" |
12 |
mac_eth2="00:40:05:63:3D:3E" |
13 |
mac_eth3="52:54:00:DC:C8:E7" |
14 |
config_eth0=( "192.168.2.33/24" ) |
15 |
config_eth1=( "192.168.3.33/24" ) |
16 |
config_eth2=( "192.168.4.33/24" ) |
17 |
config_eth3=( "192.168.5.33/24" ) |
18 |
|
19 |
|
20 |
The problem is another card was removed and now |
21 |
eth1 is skipped over and get after reboot: |
22 |
<heavily snipped> |
23 |
eth0 Link encap:Ethernet HWaddr 00:4F:49:01:6F:7A |
24 |
inet addr:192.168.2.33 Bcast:192.168.2.255 Mask:255.255.255.0 |
25 |
eth2 Link encap:Ethernet HWaddr 00:40:05:63:3D:3E |
26 |
inet addr:192.168.4.33 Bcast:192.168.4.255 Mask:255.255.255.0 |
27 |
|
28 |
eth3 Link encap:Ethernet HWaddr 52:54:00:DC:C8:E7 |
29 |
inet addr:192.168.5.33 Bcast:192.168.5.255 Mask:255.255.255.0 |
30 |
eth4 Link encap:Ethernet HWaddr 52:54:00:DC:C8:E7 |
31 |
BROADCAST MULTICAST MTU:1500 Metric:1 |
32 |
|
33 |
I assume that the eth1 problem is a vestige of removing an old card |
34 |
and replacing it with a newer one. I just cannot find what to remove |
35 |
or re-initiate to get the sequence of nic assignments to be |
36 |
eth0, eth1, eth2, eth3. |
37 |
|
38 |
I looked at net.examples but somehow I've missed something else. |
39 |
|
40 |
any ideas are most welcome. |
41 |
|
42 |
|
43 |
|
44 |
James |
45 |
|
46 |
|
47 |
-- |
48 |
gentoo-user@g.o mailing list |