Welcome to Linux Forums!

With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.

Linux Forum ArticlesLinux ForumsLinux Forum DownloadsLinux Hosts
Home|Register|FAQ|Member List|Calendar|Unanswered Posts|Forum Rules|Today's Posts|Advanced Search|
SEARCH FOR IN
Go Back   Linux Forums > GNU Linux Zone > Linux Networking
Reload this Page routing between vlans (iptables??)
Linux Forums
Linux Forums
Welcome To The Linux Forums!
Welcome to Linux Forums. We pride ourselves in being one of the largest Linux communities on the web, we encourage you to REGISTER on our forums and participate in the community. There are over 150,000 members ready to answer your questions. JOINING US today will allow you to make new posts, get support, send messages to other members and submit downloads to our downloads directory and many other great features!

Linux Networking Hardware/Software related, Modems, Internet connection sharing, IPTables etc.

Reply
 
Thread Tools Display Modes
Old 03-12-2008   #1 (permalink)
skochamu
Just Joined!
 
Join Date: Mar 2008
Posts: 2
routing between vlans (iptables??)

Hi,
i have two vlan interfaces in my linux box
eth1.17 & eth1.27

Now i need to route any packet coming to eth1.17 to eth1.27 and vice versa

say an icmp packet 50.50.0.133->60.60.0.133 come to eth1.17 then it should be forwarded through eth1.27

if the same packet is coming on eth1.27 then it should be forwarded through eth1.17.


after doing some googling I started with iptables.

iptables -A FORWARD -i eth1.17 -o eth1.27 -j ACCEPT
iptables -A FORWARD -i eth1.27 -o eth1.17 -j ACCEPT

But this does not work...

Could someone please help me out.


Thanks
KochU
skochamu is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
How secure is this IPTABLES setup? jimbo7 Linux Security 1 07-16-2007 07:26 AM
Simple bash script help dave0001 Linux Programming & Scripting 1 06-11-2007 06:35 PM
linux ip table firewall Notorious Linux Security 1 04-27-2004 12:20 PM
Firewall frustration.... pengil2k Linux Security 0 03-02-2004 04:09 PM
Internal LAN cannot connect to Apache Server rhonneil Linux Networking 6 11-12-2003 12:45 AM




All times are GMT. The time now is 05:36 AM.




© 2000 - 2008 - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.0.0