IP Address conflict issue - Sorry posted in wrong place originally
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.
IP Address conflict issue - Sorry posted in wrong place originally
(I am sorry I posted this in the wrong sub forum earlier - Never try posting with two windows open if you lack brain power like I do!!)
Right shoot me down if this is too much of a silly question,
I have just taken over admin of 5 servers one of which is a linux box (soon to be 2, then 3...hopefully but anyway) There is a slight ip address conflict on the system the exteranl facing ip addys of the system go from xxx.xxx.xxx.2 - 6.
The linux box being 5, I have noticed that one of the win machines keeps dropping the terminal services connections over the internet, so I looked into it and found that the linux both has a an alias, I think it is called, that listens on it's ip; but it is not a big error, i.e. neither machines comlain of the conflict ever 10 or 20 seconds or so as they do on a LAN when ips conflict, in fact the win box only has 4 mentions of this conflict in it's event log for the last year.
eth0:1 Link encap:Ethernet HWaddr xx:xx:xx:xx:xx:xx(same as above!)
inet addr:xxx.xxx.xxx.6 Bcast:xxx.xxx.xxx. Mask:xxx.xxx.xxx..0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
Interrupt:169
I have three questions really: I am told that this has been done for a reason, can anyone think of a reason?
Also I have tried to stop the eth0:1 and it brings the whole network down, after which I needed to reboot, is there a way just to stop this alias. I would like to do it with little or no down time as this machine hosts a web shop.
I cannot find a script that starts this eth0:1, but it appeared again after the reboot, there is not ifcfg-eth0:1 file, or mention of it in the ifcfg-eth0 file. The only places in etc where that ip is mentioned is /etc/addrpool /etc/ips /etc/nameserverips and httpd conf.
I would be very grateful if someone could offer me a little advicer in this situation.
you could quickly test the effect of changing/disabling the ip address with the commands
ifconfig eth0:1 down
to disable it.
ifconfig eth0:1 xxx.xxx.xxx.xxx
to set the desired ip address.
To permanently change your network settings the easiest is to use the tools provided with your distro (you didn't mention which?)
many thanks for your reply I tried;
ifconfig eth0:1 down
And it brought the whole network interface down, the website stopped (even though it's ip address is the xxx.xxx.xxx.5 not .6) I am just a little confused as to what is going on.
I am using Red Hat Enterprise rel 4, but it is a remote setup, so all I have is ssh terminal, no interface.
Could I make a slight update, is it significant that the ifconfig output is only the first three lines in the case of the problem one, it does not contain any of the packet information collisions etc. I just set up a Red Hat test machine and made an eth0:1 alias and the ifconfig output is in full.
I'm not sure what's going on with the network, but if you're on a linux machine it might help to connect with 'ssh -Y' instead of just ssh, this gives you the possibility to run graphical programs (if there are any on the server, and ssh is configured to allow it).
Maybe to find out why the network is configured as it is we need some more information. What does the server run? where is it positioned in your network? Are those ip adresses all external adresses (reachable from the internet)?
Hello, Many thanks for staying with me on this one...
The ip addresses in question are external ones, we have a five server rack on which we have a main IIS (arrgghh!) website xxx.2, xxx.3 mail, xxx.4 sql server, xxx.5 has our shop and forums; apache, mysql and xxx.6 which is a MS Svr2004 box suppose to hold backups and for a secure ftp link, user to upload content, save them having access to our main web server.
The servers are behind some kind of firewall, that we don't administer that, but the admin of all of the boxes is our responsibilty.
I think that my predessesor set the alias up on the linux box to listen to the xxx.6 ip address but I do not know why. And I cannot see whwere it is set up, it is comes back on when the box restarts, but I cannot see where it is defined, much less what exactly it does.
And it brought the whole network interface down, the website stopped
The website stopped, but was your ssh connection broken? If not, then the .6 address is probably needed because the dns name for your forum or shop points to it (to check type 'nslookup shop/forums.website.com').
In this case you need to contact the company responsible for your dns records, or depending on the situation you could move around the ip addresses of several servers.
I risked another try at ifconfig eth0:1 down and the result was the same, although it did point me in the direction of some more dtails of my system I think may aid anyone who is trying to help me:
There is another alias on the system xxx.7, and that is wher nslookup says may websites are located ifconfig out put below:
eth0:1 Link encap:Ethernet HWaddr XX:00:XX:00:00:CA
inet addr:xxx.xxx.xxx.6 Bcast:xxx.xxx.xxx.255 Mask:xxx.xxx.xxx.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
Interrupt:169
eth0:2 Link encap:Ethernet HWaddr XX:00:XX:00:00:CA
inet addr:xxx.xxx.xxx.7 Bcast:xxx.xxx.xxx.255 Mask:xxx.xxx.xxx.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
Interrupt:169
Is it significant that the netmask is different?
But anyway on with the story...
ifconfig eth0:1 down caused both eth0:1 and eth0:2 to go away, My ssh stayed connected because eth0 stayed up, but like I say them websites both went down. (as I said nslookup says that xxx.7 is where both the shop and forum are pointed.)
So some ideas are what I am after...why would the system be set up this way?
Am I correct to assume that this is what is causing the problem with the win box on xxx.6?
It look like I need to keep the alias for xxx.7, but how do I get rid of the xxx.6 alias without it bringing the website down?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.