LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Multiple Network (https://www.linuxquestions.org/questions/linux-networking-3/multiple-network-352963/)

lucasnishimura 08-13-2005 05:02 PM

Multiple Network
 
I have a linux box with 3 nic's as folow:

Code:


root@auth:~# ifconfig
eth0      Link encap:Ethernet  HWaddr 00:50:BF:B4:0D:10
          inet addr:10.1.1.150  Bcast:10.255.255.255  Mask:255.0.0.0
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:40 errors:0 dropped:0 overruns:0 frame:0
          TX packets:35 errors:85 dropped:0 overruns:0 carrier:170
          collisions:0 txqueuelen:1000
          RX bytes:3381 (3.3 Kb)  TX bytes:2917 (2.8 Kb)
          Interrupt:3 Base address:0x9000

eth1      Link encap:Ethernet  HWaddr 00:10:4B:87:36:1F
          inet addr:192.168.1.1  Bcast:192.168.1.255  Mask:255.255.255.0
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:43 errors:0 dropped:0 overruns:0 carrier:43
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 b)  TX bytes:6077 (5.9 Kb)
          Interrupt:10 Base address:0x9400

eth2      Link encap:Ethernet  HWaddr 00:11:D8:D3:A5:4B
          inet addr:172.168.10.150  Bcast:172.168.10.255  Mask:255.255.255.0
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:41 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 b)  TX bytes:5575 (5.4 Kb)
          Interrupt:3 Base address:0x9800

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:61 errors:0 dropped:0 overruns:0 frame:0
          TX packets:61 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:4308 (4.2 Kb)  TX bytes:4308 (4.2 Kb)

ETH1 and ETH2 are conected to two other hub's for 2 differents subnets.However the machines from 192.168.1.x and 172.168.10.x can't ping the linx box....But if i diconect the cable from ETH0 and ETH1 i can ping ETH2 or if i disconect ETH0 and ETH2 i can ping ETH1....



Can any one help?Please....

aznluvsmc 08-13-2005 05:32 PM

What Linux distro are you using? Can you post the output of netstat -rn?

lucasnishimura 08-13-2005 07:12 PM

I already figure it out thanx...

aznluvsmc 08-14-2005 08:41 PM

As a heads up for everyone else what was wrong?

lucasnishimura 08-27-2005 05:54 PM

what was wrong
 
Even setting the NIC Ip address of clients in the same network it wouldnt ping.. but after set the gateway as the server ip address.....
it worked fine....
Dont ask me why....


All times are GMT -5. The time now is 06:40 AM.