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 want them to both run at the same time -- but the network manager only allows me to choose one... this seems ridiculous to me -- why isn't it a checkbox instead of a radio button and why can't i get this to work?
i want them to both run at the same time -- but the network manager only allows me to choose one... this seems ridiculous to me -- why isn't it a checkbox instead of a radio button and why can't i get this to work?
This "Network Manager" knows something you don't - you can't have two NIC's on same subnet (search Google for bond+NIC if you really need this).
I'm not sure how you do it in Windows, somehow I do not believe it works properly. Unless they do bonding in Windows without telling you what's going on. Sure, you can assign addresses to your NIC's manually in Linux and have them on same subnet but it's not going to work as desired, it won't double your bandwith.
oh -- i'm not trying to double bandwidth or anything like that. here's what i'm trying to do:
i have one nic as my normal, firewalled connection -- on all the time
have the other nic on the router's dmz (already set up) and turn it on whenever i need it (troubleshooting, or if i need unrestricted access to the internet NOW)
i'd like to be able to enable the second nic at will, and still have the other nic up at the same time...
It seems that ETH1 (your second NIC) is getting a self-assigned IP address 169.254.6.234. If you look in /etc/network/interfaces you can see it is sitting there and waiting for an IP address from a DHCP server. Are you running one on the LAN NIC ETH1 is located in?
yup -- i have the router (which runs the dhcp)passing out addresses to my network based on MAC address, it gives 192.168.0.235 to one nic, and 192.168.0.242 to the other nic (the one that's on the dmz)the set up works wonderfully... i just want eth1 to get an ip address when i $ifconfig eth1 up
emerson, it works swimmingly in windows -- no doubt about it. i can enable/disable network interfaces at will, each with different settings if i want to...
i don't want to alias eth0 when i have a perfectly good network interface in eth1.
so no one knows how to do this, is what i'm reading...
1. Aliasing is the way to do it, it saves you one NIC, one cable and one port in network switch.
2. Despite it makes no sense and it is not a valid IP configuration you still can do it. Please note: DHCP is only configuration helper, in most cases static configuration works better (I see you use static via DHCP - why not simply static?). Obviously the GUI tools are useless in this case. You have to run your DHCP client manually on eth1 or - much better and simpler - assign static IP addresses to both NIC's (or at least to eth1). Then activating and deactivating it is simply the matter of running "sudo ifconfig eth1 up/down". You can create icons on your desktop to issue these commands.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.