Skip to main content

Thread: How to resolve using two nics ?


hello there,

i´m having trouble understanding how fix network uses 2 nics of 1 supposed go internet.

on 10.04 x64 server have 2 nics. 1 configured 192.168.2.x network, other 1 10.1.1.x network.
interfaces file :

code:
auto lo iface lo inet loopback # primary network interface auto eth0 iface eth0 inet static         address 192.168.2.30         netmask 255.255.255.0         network 192.168.2.0         broadcast 192.168.2.255         gateway 192.168.2.1 auto eth1 iface eth1 inet static         address 10.1.1.3         netmask 255.255.255.0         network 10.1.1.0         broadcast 10.1.1.255         gateway 10.1.1.1
i able ping other machines in 192.168.2.x network machines in 10.1.1.x network.

intention 192.168.2.x nic can access internet (for apt-get etc.), not seem work.
resolv.conf file:

code:
nameserver 62.179.104.196 nameserver 213.46.228.196 domain arnhem.chello.nl search arnhem.chello.nl
whenever try ping of www.chello.nl, nothing back. if try ping of ip address of www.chello.nl, see following :

code:
ping 213.46.242.72 ping 213.46.242.72 (213.46.242.72) 56(84) bytes of data. 10.1.1.1 icmp_seq=1 destination net unreachable 10.1.1.1 icmp_seq=2 destination net unreachable
it seems os tries resolve/ping on 10.1.1.x network, not network serviced router have internet connection.

question:
how can force these kind of requests go via 192.168.2.x nic on machine ?

already,

hans

check route -n

in case:
$ route -n
tabla de rutas ip del núcleo
destino pasarela genmask indic métric ref uso interfaz
192.168.1.0 0.0.0.0 255.255.255.0 u 0 0 0 wlan0
192.168.148.0 0.0.0.0 255.255.255.0 u 0 0 0 vmnet1
169.254.0.0 0.0.0.0 255.255.0.0 u 0 0 0 vmnet8
169.254.0.0 0.0.0.0 255.255.0.0 u 0 0 0 eth0
0.0.0.0 192.168.1.254 0.0.0.0 ug 0 0 0 wlan0

can see 4 adapter, wlan0, vmnet1, vmnet8 , eth0
wlan0 1 use go internet

maybe


Forum The Ubuntu Forum Community Ubuntu Official Flavours Support Networking & Wireless [SOLVED] How to resolve using two nics ?


Ubuntu

Comments

Popular posts from this blog

How to change text Component easybook reloaded *newbee* - Joomla! Forum - community, help and support

After Effect warning: A problem occurred when processing OpenGL commands

Preconditions Failed. - Joomla! Forum - community, help and support