Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 12-18-2004, 10:29 PM   #1
LQ Newbie
Registered: Dec 2004
Posts: 1

Rep: Reputation: 0
Arrow 2 nics, 2 networks, 2 problemas

hello. I'm attempting to replace my Linksys POS router with a more reliable linux box (fedora 1). First though, i'd like to setup my linux box as a router between my two subnets and im having problems.

I have two nics in my box.

# ifconfig
eth0 link encap: ethernet HWaddr 00:03:6D:1E:CA:7D
inet addr: Bcast: Mask:

eth1 link encap: ethernet HWaddr 00:40:05:85:EC:95
inet addr: Bcast: Mask:


# route
Destination Gateway ... Iface
default eth0 * eth0 * eth1 * eth1

when i ping anything on the subnet, everything is peachy.
but if i attempt to ping anything on the subnet i get "Destination Host is Unreachable." I'm guessing its some sort of routing problem. I can ping the address from that subnet, but the address times out...
Any ideas?

Last edited by kangaegoto; 12-18-2004 at 10:31 PM.
Old 12-19-2004, 06:58 AM   #2
Registered: Aug 2004
Distribution: debian, SuSE
Posts: 365

Rep: Reputation: 35
I think you need to fet that fedora box to route traffic.

echo "1" > /proc/sys/net/ipv4/ip_forward to enable it to route traffic between the two cards. Else it will not be a router.


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
2 nics, 2 networks help. chrisknight Linux - Networking 5 12-19-2004 01:21 PM
2 nics, 2 networks, 1 SuSE 9.1 Pro box Arachnoman Linux - Networking 2 11-24-2004 10:37 AM
1 servicer, 2 nics, 2 networks, 1 functional mehesque Linux - Networking 1 08-11-2004 02:24 PM
problemas de clases en kdevelop tranfuga Programming 2 06-16-2004 10:55 PM
2 NICs 2 networks 2 gateways birkinshawc Linux - Networking 1 05-29-2004 03:05 PM

All times are GMT -5. The time now is 10:48 PM.

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