Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
hello i am trying to route between two netwrokz
the first machine has eth0 with ip 192.168.1.123/24 and subinterface eth0:0 with ip 172.16.1.1/24
so i am trying to ping 172.16.1.1 from other computer in the network (192.168.1.124/24) but the ping fail
this is the routing table for 192.168.1.124 =>
localnet * 255.255.255.0 U 0 0 0 eth2
172.16.1.0 192.168.1.123 255.255.255.0 UG 0 0 0 eth2
default DD-WRT 0.0.0.0 UG 0 0 0 eth2
this is the routing table from 192.168.1.123
192.168.1.0 * 255.255.255.0 U 0 0 0 eth0
172.16.1.0 * 255.255.255.0 U 0 0 0 eth0
loopback * 255.0.0.0 U 0 0 0 lo
default DD-WRT 0.0.0.0 UG 0 0 0 eth0
Also, do you have VLAN module enabled as you have two IPs with different networks on one card? This means your switch/hub and kernel must support VLANs.
Last edited by harry edwards; 07-04-2008 at 03:32 PM.
yes i have ip forwarding enabled and vlan module enabled in my kernel
the problem now comes when i try to route with my slackware computer the routing fails
but when i try to route with debian computer(the same scheme) the routing is successful
on the debian computer i didn`t have ip_forwarding enabled but even so the routing was successful
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.