Solved

Removing a route at boot

Posted on 2004-08-04
3
236 Views
Last Modified: 2010-03-18
Hi,

I have a Linux server that takes a weird route when its booting. The mask for the true IP is 255.255.255.128 and the ip is like 65.x.x.x, but then, linux add a route that is 65.0.0.0 at boot. Therefore, server isn't accessible from people who have an ip beginning with 65

Is there a way to fix that or just even delete the root at boot up ? I'm kind of new in linux and I know there is somewhere you can put things to make them execute at boot, but I don't remember where or how.

Thanks for your help
Eric
0
Comment
Question by:Po_24
  • 2
3 Comments
 
LVL 4

Accepted Solution

by:
jonesy2k earned 50 total points
ID: 11722682
could you please post the output of
ifconfig -a
and
route
here?

In answer to your other question, if you're running redhat, you can add commands to the bottom of
/etc/rc.d/rc.local
if you're running debian, you can use
/etc/init.d/bootmisc.sh

also, can you please post your ethernet config files?
0
 

Author Comment

by:Po_24
ID: 11722879
Thanks for your help

After execuing the ifconfig -a command, I saw the error, the second IP was added without a netmask, so he put the default mask.. I totally forgot to check that before checking somewhere else. Thanks for your tip and for your answer on the config at boot.. since the second IP was added there, I would have needed to know that anyway :)

Eric
0
 
LVL 4

Expert Comment

by:jonesy2k
ID: 11722922
No worries,
glad to help out.
0

Featured Post

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…

816 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now