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 06-21-2006, 06:25 PM   #1
rlh989
LQ Newbie
 
Registered: Jun 2005
Posts: 10

Rep: Reputation: 0
Routing Problem on Multihomed Machine


I have a Archlinux machine with 2 nics, each on a seperate subnet. The networks are 192.168.1.0/24 and 10.7.7.0/24. Default gateway to outside world is 192.168.1.1 on a different machine. I have been trying to simply route traffic between subnets and am failing miserably. The router is also my dns/dhcp server hopefully for both subnets when im done. I have dropped the firewall and made triple sure forwarding is enabled. From 10.7.7.5 for example i can ping both nics (10.7.7.1 and 192.168.1.25) on the server but nothing else on the opposing subnet or internet. My servers route shows this

[root@Penguin /]# route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.1.0 * 255.255.255.0 U 0 0 0 eth0
10.7.7.0 * 255.255.255.0 U 0 0 0 eth1
default gateway1.lan.or 0.0.0.0 UG 0 0 0 eth0
[root@Penguin /]#


My ifconifg shows ...

[root@Penguin ~]# ifconfig
eth0 Link encap:Ethernet HWaddr 00:10:18:01:24:9A
inet addr:192.168.1.25 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::210:18ff:fe01:249a/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:6126 errors:0 dropped:0 overruns:0 frame:0
TX packets:5159 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:417381 (407.5 Kb) TX bytes:3141675 (2.9 Mb)
Interrupt:10

eth1 Link encap:Ethernet HWaddr 00:10:18:01:28F
inet addr:10.7.7.1 Bcast:10.7.7.255 Mask:255.255.255.0
inet6 addr: fe80::210:18ff:fe01:28df/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:81 errors:0 dropped:0 overruns:0 frame:0
TX packets:57 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:11983 (11.7 Kb) TX bytes:9524 (9.3 Kb)
Interrupt:5

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:160 errors:0 dropped:0 overruns:0 frame:0
TX packets:160 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:16160 (15.7 Kb) TX bytes:16160 (15.7 Kb)


Does anyone have any suggestions as to what im missing here, i simply want traffic between the subnets to flow.
 
Old 06-21-2006, 10:33 PM   #2
rlh989
LQ Newbie
 
Registered: Jun 2005
Posts: 10

Original Poster
Rep: Reputation: 0
Best advice i got off this board which was to use tcpdump and ethreal to figure it out. Default gateway on the 192.168.1.0 network was the culprit, pings were goin to right spot but the reply was being shipped off into the internet
 
  


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
Multihomed Firewall (Working, but no Internet?) ridertech Linux - Networking 3 06-27-2005 11:52 PM
MultiHomed Network Problems w/ SuSe 9.2 rfn_jhardy Linux - Networking 1 05-11-2005 05:50 AM
Multihomed host routing problem.. srns Linux - Networking 3 10-15-2004 03:26 PM
Routing - no path for one machine, OK for another loggy Linux - Networking 1 05-24-2004 05:23 PM
Multi-Service Machine Including Routing a Good Idea?? Breezwell Linux - Networking 2 11-10-2001 10:26 PM

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

All times are GMT -5. The time now is 12:55 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration