LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Vlans & IP forwarding (https://www.linuxquestions.org/questions/linux-networking-3/vlans-and-ip-forwarding-493828/)

Mithrilhall 10-19-2006 08:15 AM

Vlans & IP forwarding
 
I'm having trouble with IP forwarding.

I've successfully created eth0.5 for vlan 5 but I'm not sure how to get traffic flowing through it.

acid_kewpie 10-20-2006 02:31 AM

well ip forwarding and vlans have nothign in common at all. they live at different OSI levels so you'd benefit from taking them as seperate concerns. to enable ip forwarding run "echo 1 > /proc/sys/net/ipv4/ipforward" and that'll be it (check that path is correct btw... might be ip_forward or similar)

xinxin 10-20-2006 01:22 PM

In my case, the tempory allow forwarding in debian is "/proc/sys/net/ipv4/ip_forward" and for permanet setting, I can set it at "/etc/network/option" so everytime reboot, I don't need to do forward setting again. Hope this can help you.

Regards,

- Eric


All times are GMT -5. The time now is 07:15 PM.