Linode.com Forum Forum Index Linode.com Forum
Linode Community Forums
 


Adding another IP

Click here to go to the original topic

 
       Linode.com Forum Forum Index -> Linux Networking
Author Message
mikeshoup



Joined: 27 Apr 2004
Posts: 11

Posted: Mon May 17, 2004 7:06 pm    Post subject: Adding another IP  

I purchased my linode with 3 IP addresses. I just now bought a fourth. I tried adding this 4th the same way I did the other IPs.

Here is the settings:
Code: eth0      Link encap:Ethernet  HWaddr FE:FD:42:A0:8D:58
          inet addr:66.160.141.88  Bcast:66.160.141.255  Mask:255.255.255.0
          inet6 addr: fe80::fcfd:42ff:fea0:8d58/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:679819 errors:0 dropped:0 overruns:0 frame:0
          TX packets:651559 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0
          RX bytes:115625141 (110.2 Mb)  TX bytes:82652703 (78.8 Mb)

eth0:1    Link encap:Ethernet  HWaddr FE:FD:42:A0:8D:58
          inet addr:66.160.141.89  Bcast:66.160.141.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

eth0:2    Link encap:Ethernet  HWaddr FE:FD:42:A0:8D:58
          inet addr:66.160.141.9  Bcast:66.160.141.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

eth0:3    Link encap:Ethernet  HWaddr FE:FD:42:A0:8D:58
          inet addr:66.220.1.177  Bcast:66.220.1.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)


eth0:3 is the one not working.

Anything look wrong? Or am I missing something? Do I need to change gateway info or something? thanks.
Back to top  
Bill Clinton



Joined: 23 Nov 2003
Posts: 79

Posted: Mon May 17, 2004 7:11 pm    Post subject:  

Though I cannot answer your question (sorry!) I do suggest that in future postings you remove your IP addresses from the post. Or use an X.X for the last two numbers in the IP address. A little privacy doesn't hurt, but it goes a long way. Or thats what I used to believe when I was the prez.

Bill Clinton
Back to top  
caker



Joined: 15 Apr 2003
Posts: 2392
Location: Galloway, NJ

Posted: Mon May 17, 2004 7:16 pm    Post subject:  

You need to add the gateway for the different subnet that your fourth IP is in:

Code: route add default gw 66.220.1.1

-Chris
Back to top  
mikeshoup



Joined: 27 Apr 2004
Posts: 11

Posted: Mon May 17, 2004 11:03 pm    Post subject:  

I did that, and still no go
Back to top  
caker



Joined: 15 Apr 2003
Posts: 2392
Location: Galloway, NJ

Posted: Tue May 18, 2004 12:16 am    Post subject:  

Looks like you didn't reboot after purchasing the IP. Reboot, bring the interfaces up (including the default route), and then it should work...

-Chris
Back to top  
 
       Linode.com Forum Forum Index -> Linux Networking
Page 1 of 1