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.
I would like to setup the following scenario : My pc have 1 interface eth0 which is connected to my ISP. Now, I have created 1 virtual interfaces
eth0:0. Ip forward is enabled and it is working fine. Now, I want to route all my traffic to go through eth0:0 and through eth0. How can I do this ?
My current default gateway is provided by ISP. I want to force all my packets to pass through my virtual interface. Please let me know your thoughts.
My thoughts are mainly "why??" firstly you have the phrase "vlan" in the thread title, but you haven't got a vlan interface there in the slightest, just an alias. What are you trying to achieve here?
My thoughts are mainly "why??" firstly you have the phrase "vlan" in the thread title, but you haven't got a vlan interface there in the slightest, just an alias. What are you trying to achieve here?
I am trying the policy routing now. No luck so far. I have used vconfig to add the device and used ifconfig to assign a ip of different subnet.
I want to install the chillispot server and to control my own pc. Currently, chillispot works on client/server, in this case I would want my server to act as a client. So, if I could pass my local traffic to a different vlan then I can create a vlan with two virtual interfaces and one acts as a server and other as a client. The physical interface would be managed by the chillispot. Is that possible ? Or do you have any other suggestions ? Basically, looking to provide access to my internet only after passing through the web authentication.
Regards,
Bala
Last edited by bala.linux; 03-15-2009 at 06:33 AM.
that seems like a massive piece of over engineering. Chillispot is for hotspots and internet cafes, which surely isn't what you're trying to do with a single machine. what is the point of a web portal? Can't you just use some standard squid authentication?
hmm...no I understand the usage of chillispot. Thats why I want to simulate this environment. But would it not be possible to route the packets to different interfaces ? hmm...leaving he chillispot aside, I am trying to create a virtual ip and trying to send my local packets to it and then forward the same packets to my physical interface.
I've posted a couple recently here, but I can't find my references to them, nor the original docs via google...
All the right doohickeys are used in multilink LB... http://tetro.net/misc/multilink.html but not in the way that you would need to, but hopefully the ideas behind that might be a start. Again though I don't know how possible it is, as it depends on the way the tcp/ip stack routes within linux.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.