Soldato
- Joined
- 12 Jan 2006
- Posts
- 2,547
Hi all,
I have searched these forums and google and can't seem to find a solution to what i am looking for (being a linux noob i am probably searching for the wrong thing)
I setup my ubuntu-server using the onboard 10/100 network card (eth0) which all is working fine, can connect to everything i want and ssh into the box.
Now the problem is i want to utilise the onboard gigabit network card (eth1), i currently have both setup as static addresses but when i set eth1 to dhcp it got a correct IP address fine.
Now as far as i can tell everything is working fine as it gets its details and when i do ifconfig -a it seems ok
The problem is i cant see anything on the network as soon as i unplug eth0, including not being able to ping the gateway giving the error destination host unreachable
Here is a copy of the ifconfig and resolv
resolv.conf
Any help is much appreciated
I have searched these forums and google and can't seem to find a solution to what i am looking for (being a linux noob i am probably searching for the wrong thing)
I setup my ubuntu-server using the onboard 10/100 network card (eth0) which all is working fine, can connect to everything i want and ssh into the box.
Now the problem is i want to utilise the onboard gigabit network card (eth1), i currently have both setup as static addresses but when i set eth1 to dhcp it got a correct IP address fine.
Now as far as i can tell everything is working fine as it gets its details and when i do ifconfig -a it seems ok
Code:
eth0 Link encap:Ethernet HWaddr 00:11:d8:54:ce:26
inet addr:192.168.1.101 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::211:d8ff:fe54:ce26/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:266 errors:0 dropped:0 overruns:0 frame:0
TX packets:133 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:31271 (31.2 KB) TX bytes:20151 (20.1 KB)
Interrupt:22 Base address:0x8000
eth1 Link encap:Ethernet HWaddr 00:11:d8:54:e1:bf
inet addr:192.168.1.100 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::211:d8ff:fe54:e1bf/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:83 errors:0 dropped:0 overruns:0 frame:0
TX packets:17 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:5900 (5.9 KB) TX bytes:2368 (2.3 KB)
Interrupt:17
The problem is i cant see anything on the network as soon as i unplug eth0, including not being able to ping the gateway giving the error destination host unreachable
Here is a copy of the ifconfig and resolv
Code:
# The primary network interface
auto eth0
iface eth0 inet static
address 192.168.1.101
netmask 255.255.255.0
network 192.168.1.0
broadcast 192.168.1.255
gateway 192.168.1.254
# The secondary network interface
auto eth1
iface eth1 inet static
address 192.168.1.100
netmask 255.255.255.0
network 192.168.1.0
broadcast 192.168.1.255
gateway 192.168.1.254
resolv.conf
Code:
domain config
search config
nameserver 192.168.1.254
Any help is much appreciated