Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Tue Sep 28, 2010 4:09 pm 
Offline
Junior Member

Joined: Sun Mar 21, 2010 11:19 pm
Posts: 45
I have a linode running cPanel software. I have 2 IP's on the server and I have the default gateway setup to use eth0

However, the server keeps defaulting back to eth0:1 which is not what my cpanel is licensed to. For a while it would flip in and out between which IP it was responding to, but now if I check what its going out as using lynx and an ip address site, it shows up as teh secondary.

Does anyone have a work around for this?


Top
   
 Post subject:
PostPosted: Tue Sep 28, 2010 4:36 pm 
Offline
Linode Staff
User avatar

Joined: Fri Jan 29, 2010 8:44 am
Posts: 65
Location: New Jersey
It sounds like you haven't configured static networking. Have you used this guide?

http://library.linode.com/networking/co ... interfaces


Top
   
 Post subject:
PostPosted: Wed Sep 29, 2010 10:39 am 
Offline
Junior Member

Joined: Sun Mar 21, 2010 11:19 pm
Posts: 45
ok I did eth0 and eth0:1

maybe the system is skipping over to eth0:1 instead of eth0:0?


Top
   
 Post subject:
PostPosted: Wed Sep 29, 2010 10:41 am 
Offline
Junior Member

Joined: Sun Mar 21, 2010 11:19 pm
Posts: 45
meaning because i didn't create eth0:0 it's defaulting to eth0:1 for some reason.


Top
   
 Post subject:
PostPosted: Wed Sep 29, 2010 4:10 pm 
Offline
Junior Member

Joined: Sun Mar 21, 2010 11:19 pm
Posts: 45
ok i believe I got it - just hoping the DHCP of linode network doesn't blip it back...

Code:
root@server1 [~]# route -n

0.0.0.0         69.164.221.1    0.0.0.0         UG    0      0        0 eth0
0.0.0.0         97.107.141.1    0.0.0.0         UG    0      0        0 eth0


that was showing 2 default gateway routes.

Code:
root@server1 [~]# route del default gw 69.164.221.1 eth0


removed that secondary route that I didn't want. No need to network restart, server started coming up as the IP I wanted.


Top
   
 Post subject:
PostPosted: Wed Sep 29, 2010 6:48 pm 
Offline
Senior Member

Joined: Mon Jul 05, 2010 5:13 pm
Posts: 392
mattm wrote:
just hoping the DHCP of linode network doesn't blip it back...


DHCP only gives your linode it's networking info if you've got it setup to use DHCP. If you have static networking configured, then DHCP has nothing to do with you.


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