Using Eth1 as main ethernet card
Posted: Mon Oct 19, 2009 10:52 am
I'd like to switch my Amahi to my gigabith card in my amahi and have no clue on how to do this.
My Amahi server was configured with the motherboard native eth0 which is working fine, however, this is a 100 Nic card. I purchased a HIRO (Realtek 8169) Gigabit pci nic card which I have installed. The system seems to recognize it fine, but when I switch the rj-45 cable to the Gigabit and restart the system, the server does not boot. Only when I switch the rj-45 to the native 100 card port, the system then boots ok, with both ethernet cards active.
I have the 100 card with static ip address 10.xx.xx.10, the gigabit card has static 10.xx.xx.30, both seem to be active The ifconfig instruction returns the following:
[root@server1 ~]# ifconfig
eth0 Link encap:Ethernet HWaddr 00:XX:B9:YY:B1:YY ( I have deleted these numbers for security purposes)
inet addr:10.xx.xx.10 Bcast:10.xx.xx.255 Mask:255.255.255.0
inet6 addr: fe80::yyy:xxxx:fe8b:xxxx/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:27601 errors:0 dropped:0 overruns:0 frame:0
TX packets:35485 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:4610317 (4.3 MiB) TX bytes:31084749 (29.6 MiB)
Interrupt:20
eth1 Link encap:Ethernet HWaddr 00:E0:zz:zz:B3:zz
inet addr:10.xx.xx.30 Bcast:10.xx.xx.254 Mask:255.255.255.0
inet6 addr: fe80::xxx:yyyy:fe16:zzzz/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1053 errors:0 dropped:0 overruns:0 frame:0
TX packets:30 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:79661 (77.7 KiB) TX bytes:2802 (2.7 KiB)
Interrupt:16
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:28081 errors:0 dropped:0 overruns:0 frame:0
TX packets:28081 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:29807629 (28.4 MiB) TX bytes:29807629 (28.4 MiB)
tun0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
inet addr:10.8.0.1 P-t-P:10.8.0.2 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
so my questions are these:
1) how can i setup my gigabit card currently (eth1) to be the main card the system uses? or at least use it as the port where all trafic comes through as it is a much faster card than the native ethernet board.
2) is there anything I can do so the system does not freeze at boot when the rj-45 is connected to the gigabit card port?
I have been able to get this info through webmin in the hda.
My Amahi server was configured with the motherboard native eth0 which is working fine, however, this is a 100 Nic card. I purchased a HIRO (Realtek 8169) Gigabit pci nic card which I have installed. The system seems to recognize it fine, but when I switch the rj-45 cable to the Gigabit and restart the system, the server does not boot. Only when I switch the rj-45 to the native 100 card port, the system then boots ok, with both ethernet cards active.
I have the 100 card with static ip address 10.xx.xx.10, the gigabit card has static 10.xx.xx.30, both seem to be active The ifconfig instruction returns the following:
[root@server1 ~]# ifconfig
eth0 Link encap:Ethernet HWaddr 00:XX:B9:YY:B1:YY ( I have deleted these numbers for security purposes)
inet addr:10.xx.xx.10 Bcast:10.xx.xx.255 Mask:255.255.255.0
inet6 addr: fe80::yyy:xxxx:fe8b:xxxx/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:27601 errors:0 dropped:0 overruns:0 frame:0
TX packets:35485 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:4610317 (4.3 MiB) TX bytes:31084749 (29.6 MiB)
Interrupt:20
eth1 Link encap:Ethernet HWaddr 00:E0:zz:zz:B3:zz
inet addr:10.xx.xx.30 Bcast:10.xx.xx.254 Mask:255.255.255.0
inet6 addr: fe80::xxx:yyyy:fe16:zzzz/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1053 errors:0 dropped:0 overruns:0 frame:0
TX packets:30 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:79661 (77.7 KiB) TX bytes:2802 (2.7 KiB)
Interrupt:16
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:28081 errors:0 dropped:0 overruns:0 frame:0
TX packets:28081 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:29807629 (28.4 MiB) TX bytes:29807629 (28.4 MiB)
tun0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
inet addr:10.8.0.1 P-t-P:10.8.0.2 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
so my questions are these:
1) how can i setup my gigabit card currently (eth1) to be the main card the system uses? or at least use it as the port where all trafic comes through as it is a much faster card than the native ethernet board.
2) is there anything I can do so the system does not freeze at boot when the rj-45 is connected to the gigabit card port?
I have been able to get this info through webmin in the hda.