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.
My linux box is RedHat with one NIC.
I did create 18 virtual interfaces from eth0:1 to ethO:18 in my machine.
I want to create routing between these interfaces, for instant i want to route packet from eth0:1 to eth0:5 via pass this packet through eth0:2 and eth0:3 before. (eth0:1->eth0:2->eth0:3->eth0:5) and vice versa.
But the problem is linux think that all of these 18 interfaces are in the same device. So, once i try to create the routing and send packet out,the packet will go directly from eth0:1 to eth0:5.
I try to create routing with iptables as well as using VLAN but it seem they didn't support virtual interface.
Do you guys have any idea how to make it comes true ?
that sounds like a pretty nasty mess... you sound like you're trying to do this without using formal vlans? it's possible to run multiple subnets on a single nic without VLAN's but it's a really bad idea, and should be avoiaded. running 18 of them is just daft... chekc the 8021q module and associated tools like vconfig to do this properly. http://www.linuxjournal.com/article/7268
Last edited by acid_kewpie; 11-06-2006 at 06:18 AM.
My linux box is RedHat with one NIC.
I did create 18 virtual interfaces from eth0:1 to ethO:18 in my machine.
I want to create routing between these interfaces, for instant i want to route packet from eth0:1 to eth0:5 via pass this packet through eth0:2 and eth0:3 before. (eth0:1->eth0:2->eth0:3->eth0:5) and vice versa.
But the problem is linux think that all of these 18 interfaces are in the same device. So, once i try to create the routing and send packet out,the packet will go directly from eth0:1 to eth0:5.
I try to create routing with iptables as well as using VLAN but it seem they didn't support virtual interface.
Do you guys have any idea how to make it comes true ?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.