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.
iptables can't do outgoing balancing (in your case). It can send specific traffic to interface, but it is far not balancing.
iproute2 - works with routing tables, and can't choose direction based on service (http, ssh...)
In this case you really can use iptables, but there is some small difficulty.
You need to find a place for your script, which will be executed after port with DHCP IP setup changes its status (from UP to DOWN and back). It needs, because you will need to add a rule to iptables with interface IP address.
For example on my opensuse I have file "config" in /etc/sysconfig/network, there I can state what I want to execute after interface gets "UP". Also there says to start dhsp.
I'll try. I split SSH, HPPTS traffic to the interface with static IP and all other traffic to the interface with DCHP IP. Is it possible? Bcoz I cann't write a script to monitor IP address changes in dynamic interface. I'm a linux newbie.
I need some help with OpenSuse 11.2. After I installed linux, I cann't start DNS server. I start bind for caching only server but bind didn't start. Do I need some changes in config file? I use default configuration file come with suse. I wanna change my server OS to OpenSuse.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.