Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
SDN 101: An Introduction to Software Defined Networking
Discover the advantages of SDN.
SDN has quickly become one of the hottest trends in IT. But not all SDN solutions offer real software-defined functionality. As more enterprises consider SDN, they want to know, “What is SDN? And what are the real benefits?” If you're ready to explore the advantages of SDN, and want to know how it should be implemented within your enterprise, start by reading our introductory white paper.
Click Here to receive this Complete Guide absolutely free.
this doesn't make sense. you can't route TO a local subnet, it's already there.... sounds to me like you want to enable ip forwarding to make it actually route between the networks it is directly attached to.
Thanks! I do agree with you. Now I am looking in to how to setup IPforward. Any suggestion on how to enable IP forwarding feature. I recently installed fedora core 5 and it seem it does not have command “ipfwadm”. Any help I appreciated.
Please help with my router. I have 2 computers I want to connect both on internet using linux router(one of the computer). I added the line
net.ipv4.ip_forward = 1
to /etc/sysctl.conf file. Only one of my network card let me activated it (the one that is connect to the modem: internet eth1). The other card eth0 won't let me activated it. eth0 is connect to a switch that connect my windows XP computer. I am doing something wrong? Please help.
Thanks for your support. I am still stuck on same problem. I may have missed something else. I have in Linux box with two Ethernet port Eth1 and Eth2. All I want to do is ping from PC1 to PC2 so I can insert delay and jitter on each port. First step is to get the IP forward working correctly then I can move forward.
In Linux box IP address as follow.
Eth1: IP address is 192.168.5.1/24 gw 192.168.5.2
Eth2: IP address is 192.168.1.1//24 gw 192.168.1.2
I also typed following command in Linux box.
echo 1 > /proc/sys/net/ipv4/ip_forward
Here is my overall configuration IP address.
PC1 (192.168.5.2 gw 192.168.5.1) Linux Eth1(192.168.5.1 gw 192.168.5.2) Linux (192.168.1.3 gw 192.168.1.1) PC 2 (192.168.1.1 gw 192.168.1.3)
My routing table below from Linux box
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
192.168.5.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth2
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth1
0.0.0.0 192.168.5.2 0.0.0.0 UG 0 0 0 eth1
I also have tried route add insert proper gateway in both interfaces. (example: 192.168.5.0 192.168.5.2)
I also add route in PC.