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.
root# ifconfig shows (think the word vsnet0 is same as eth0 only i'm running in vps)...
venet0:0 = 75.126.18.81
venet0:1 = 75.126.18.82
venet0:2 = 75.126.18.83
i have 4 linux users:
root, user1, user2, user3
i want when user1 is logged in (through ssh or direct) then user1 can use 75.126.18.81 for internet related programs,
user2 use 75.126.18.82
and user3 use 75.126.18.83,
etc...
is this possible (i'm using CentOS 4.4 and have no GUI)?
Check out IPTABLES tutorials..you can filter upon username or ID...so block traffic for the user in question except for the interface you want him to use.
the thing i am trying to do is i want to run one application (say bittorrent for example) on the first ip, and then i want to run a second application (like limewire) on the second ip, and another application like an emule client on the 3rd ip.
right now they all want to run on the first ip (on different ports so it works) but i want them to run on different ips.
any suggestions?
Need to set up three different Networking files. One for each user (user1, user2, and user3). Each user would be on a different I.P. ( user1 on [75.126.18.81], user2 on [75.126.18.82] and user3 on [75.126.18.83] ). Try using a shell as "root", and editing the files after creating them. Remember to save all the files that are created, and also save all the files that are modified. Good luck.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.