| Linode Forum https://forum.linode.com/ |
|
| Multiple IPs https://forum.linode.com/viewtopic.php?f=19&t=2922 |
Page 1 of 1 |
| Author: | lostcarpark [ Thu Nov 08, 2007 3:40 am ] |
| Post subject: | Multiple IPs |
Hi, I added a second IP, and configured my Linode as described here: http://www.linode.com/wiki/index.php/Multiple_IPs When I ping locally (from the Linode itself), I get a response from both IPs, but when I do the same remotely (as in from my own PC), the old IP works fine, but the new one gives me "Request timed out". When I run ifconfig, it lists the old IP as eth0, and the new one as eth0:1. My old ip is 64.22.103.10, and the new one is 64.22.103.92. Thanks for your help! |
|
| Author: | pclissold [ Thu Nov 08, 2007 5:05 am ] |
| Post subject: | |
Your second IP looks like it's being blocked by a firewall. |
|
| Author: | lostcarpark [ Thu Nov 08, 2007 6:11 am ] |
| Post subject: | |
Ah, of course! I think I know what to do now. Thanks. |
|
| Author: | lostcarpark [ Thu Nov 08, 2007 3:44 pm ] |
| Post subject: | |
No, I don't. I don't think I have a firewall configured: Code: # iptables -L This is what I've configured: Code: # cat ifcfg-eth0:0 Any suggestions? |
|
| Author: | kangaby [ Thu Nov 08, 2007 5:22 pm ] |
| Post subject: | |
Try changing eth0:0 to eth0:1 I've not seen 0:0 used before (but it may be valid). I use 0:1 |
|
| Author: | lostcarpark [ Thu Nov 08, 2007 6:10 pm ] |
| Post subject: | |
I had it running as eth0:1, but I changed to to :0. I've changed it back now. Still works locally, but not remotely. Here's the output from ifconfig: Code: # ifconfig I'd appreciate any suggestions as to how I can diagnose the problem. Thanks, James |
|
| Author: | aaron [ Fri Nov 09, 2007 12:41 am ] |
| Post subject: | |
I just have to ask... have you rebooted your linode since you purchased the additional IP? It won't work until you do. (The IP can't be routed to your UML instance on the fly while it's running) |
|
| Author: | lostcarpark [ Fri Nov 09, 2007 4:13 am ] |
| Post subject: | |
Thanks, that's done the trick! It might be a good idea to add that to the Wiki entry. |
|
| Author: | lostcarpark [ Fri Nov 09, 2007 4:19 am ] |
| Post subject: | |
I have edited it now. Someone more expert than me might want to check it. Thanks again. |
|
| Author: | OverlordQ [ Wed Nov 21, 2007 7:19 am ] |
| Post subject: | |
FWIW I couldn't get that to work on my debian box. Quote: RTNETLINK answers: Invalid argument
Meh. |
|
| Author: | cboshuizen [ Sun Jan 11, 2009 12:00 am ] |
| Post subject: | reboot magic! |
I had the same problem, and again a reboot solved it. Thanks! |
|
| Author: | marmida [ Wed Sep 09, 2009 3:28 pm ] |
| Post subject: | |
I just edited into the "Multiple IPs" article on the wiki a note about rebooting. This also worked to solve a similarly mysterious problem with my linode not being able to get its second IP working; after a reboot, everything worked fine. I added this note under the Debian / Ubuntu section; if this applies to other distros as well, somebody please promote that warning upwards in the article. |
|
| Page 1 of 1 | All times are UTC-04:00 |
| Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |
|