LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 08-13-2005, 05:02 PM   #1
lucasnishimura
LQ Newbie
 
Registered: Aug 2005
Posts: 4

Rep: Reputation: 0
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....
 
Old 08-13-2005, 05:32 PM   #2
aznluvsmc
Member
 
Registered: Aug 2004
Location: Newmarket, Ontario
Distribution: OpenSuse 10.2
Posts: 184

Rep: Reputation: 30
What Linux distro are you using? Can you post the output of netstat -rn?
 
Old 08-13-2005, 07:12 PM   #3
lucasnishimura
LQ Newbie
 
Registered: Aug 2005
Posts: 4

Original Poster
Rep: Reputation: 0
I already figure it out thanx...
 
Old 08-14-2005, 08:41 PM   #4
aznluvsmc
Member
 
Registered: Aug 2004
Location: Newmarket, Ontario
Distribution: OpenSuse 10.2
Posts: 184

Rep: Reputation: 30
As a heads up for everyone else what was wrong?
 
Old 08-27-2005, 05:54 PM   #5
lucasnishimura
LQ Newbie
 
Registered: Aug 2005
Posts: 4

Original Poster
Rep: Reputation: 0
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....
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Multiple Network Cards ryanroler Slackware 11 01-14-2005 07:18 AM
Multiple Network Profiles vrillusions Linux - Networking 4 09-01-2003 06:27 PM
Multiple Network Adapters... markstevens Linux - Networking 1 06-16-2003 03:56 PM
Using multiple network profiles? thas Linux - Networking 2 03-31-2003 11:02 PM
Multiple IP addresses on one network card jeucken Linux - Networking 1 10-04-2002 07:02 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 09:46 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration