LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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 10-19-2006, 08:15 AM   #1
Mithrilhall
Member
 
Registered: Feb 2002
Location: Adamstown, Pitcairn Islands
Distribution: Neon
Posts: 291

Rep: Reputation: 30
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.
 
Old 10-20-2006, 02:31 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
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)
 
Old 10-20-2006, 01:22 PM   #3
xinxin
LQ Newbie
 
Registered: Sep 2006
Posts: 5

Rep: Reputation: 0
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
 
  


Reply



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
forwarding & donno how Hedon Linux - Networking 2 02-22-2006 01:46 PM
FTP & Forwarding crazykiller Linux - Networking 9 11-26-2005 09:12 AM
IPTABLES & Port Forwarding wobbit Linux - Networking 2 05-06-2005 03:28 PM
Port Forwarding & MNF apoc63 Linux - Newbie 0 01-03-2005 10:41 PM
Port Forwarding w/2 Machines & 1 Switch TastyWheat Linux - Networking 0 02-26-2004 11:02 PM

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

All times are GMT -5. The time now is 01:40 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
Open Source Consulting | Domain Registration