Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
Distribution: Fedora Core 1, Red Hat 8, Red Hat 9, Knoppix 3.3 (debian sarge)
2 IP addresses on the same Linu box
I have a Linux Red Hat 8.0 box connected by a router to a LAN.
When I installed RH8 I assigned to my eth0 card an IP address (192.168.0.190).
Now I'd like to add another IP (a static one: 80.19.xxx.zzz) in the same machine (like I do on Win2000).
On another box with RH 7.3 I had to install 2 eth cards, each one with a different IP address, BUT I think that this is NOT a good fix for my problem (if I had to handle 8 IP addresses I would have to have 8 eth cards on the same machine!!!).
If someone knows how to assign more than one IP address (possibly each one with a different subnet mask) to the same linux box with only one eth card... please help me!
Distribution: Ubuntu - Fedora - or whatever works or gets handed to me.
you cat set up ass many ips on the same nic as you wish , i am sorry i cant remember how right now but it is possible, i think its called ip aliasing or something like that . i use to ise linux with vmware with a nt4 workstation and shared the nic with a diffrent ip for each os at the same time. I Is Possuble, and It WorkS!
Itīs a capture screen of Network Configuration of RedHat, (Gnome desktop). In your Linux box, click on the "Interfaces" button, and next, look for your NIC and next, click in the "Alias" button. The next steps will require the new information: IP Adrress, netmask, etc.
Do you have any idea which configuration files this changes and how? Or how to accomplish this on the command line. I checked the man page for ifconfig thinking it must be an option there, but found only this (implying perhaps iptables?):
Since kernel release 2.2 there are no explicit interface
statistics for alias interfaces anymore. The statistics
printed for the original address are shared with all alias
addresses on the same device. If you want per-address
statistics you should add explicit accounting rules for
the address using the ipchains(8) command.
If I ever manage to get off dialup, I'ld just prefer to not need another ethernet card, my box is packed as it is. Thanks.