Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Wed Aug 25, 2010 9:47 pm 
Offline
Newbie

Joined: Wed Aug 25, 2010 9:32 pm
Posts: 4
I setup multiple IP's on my CentOS Linode with a static configuration for eth0 and eth0:0. From the box itself eth0:0 responds to ping or http requests. Externally, I can not ping the new IP and I can't ping out either.

It appears to me that I need to add a second gateway or route. I tried a GATEWAY statement in ifcfg-eth0:0 and it did not help.

I would like to point out that eth0 is working fine.

Any suggestions?

Here are my IP's from the Linode network page:
eth0: 74.207.242.xxx ( lixx-xxx.members.linode.com )
eth0: 173.230.152.xxx ( lixxx-xxx.members.linode.com )
Gateways: 74.207.242.1
173.230.152.1
Netmask: 255.255.255.0
DNS Servers: 74.207.241.5
74.207.242.5

My primary IP before adding the second IP was 173.230.152.xxx. It is still eth0 in the static configuration.

######## File ifcfg-eth0

DEVICE=eth0
BOOTPROTO=none

ONBOOT=yes

IPADDR=173.230.152.xxx
NETMASK=255.255.255.0
GATEWAY=173.230.152.1

########File ifcfg-eth0:0

# Configuration for eth0:0
DEVICE=eth0:0
BOOTPROTO=none

ONBOOT=yes

IPADDR=74.207.242.xxx
NETMASK=255.255.255.0


Top
   
 Post subject:
PostPosted: Wed Aug 25, 2010 9:56 pm 
Offline
Senior Member

Joined: Sun Aug 02, 2009 1:32 pm
Posts: 222
Website: https://www.barkerjr.net
Location: Connecticut, USA
First, the eth0:0 should be ONPARENT, not ONBOOT. Also, don't forget to arping after you ifup.

arping -UI eth0 -qc 5 173.230.152.xxx

arping registers it with the gateway so it knows where to route your packets..


Top
   
 Post subject:
PostPosted: Thu Aug 26, 2010 2:26 am 
Offline
Newbie

Joined: Wed Aug 25, 2010 9:32 pm
Posts: 4
Thanks for the reply BarkerJr.

I made the ONPARENT change and ran the arping. No change. The interface responds from the server console but not from remote. I tried with the firewall turned off as well.


Top
   
 Post subject:
PostPosted: Thu Aug 26, 2010 3:18 am 
Offline
Senior Member
User avatar

Joined: Tue Aug 17, 2004 11:37 pm
Posts: 262
Website: http://www.our-lan.com
WLM: nf@our-lan.com
Location: Brisbane, Australia
have you rebooted since you put the new ips on?

_________________
ServerAdmin - www.our-lan.com
"Diplomacy is the art of saying nice doggy whilst looking for a really big stick"
"In my experiece, any attempt to make any system idiot proof will only challenge God to make a better idiot"


Top
   
 Post subject:
PostPosted: Thu Aug 26, 2010 9:38 am 
Offline
Senior Member

Joined: Sat Mar 28, 2009 4:23 pm
Posts: 415
Website: http://jedsmith.org/
Location: Out of his depth and job-hopping without a clue about network security fundamentals
You added the second IP fairly recently, but haven't rebooted since a while ago (I found you). Our system requires a reboot after adding or removing IPs, in order to configure the backend for you.

Fire off a quick reboot and I bet you it'll work.

_________________
Disclaimer: I am no longer employed by Linode; opinions are my own alone.


Top
   
 Post subject:
PostPosted: Thu Aug 26, 2010 10:32 am 
Offline
Newbie

Joined: Wed Aug 25, 2010 9:32 pm
Posts: 4
Thanks guys. I rebooted the Linode and its working fine now. Initially, I just restarted network.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group