Solved

Removing a route at boot

Posted on 2004-08-04
3
228 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
USPS intelligent mail barcode font 11 133
Linux neworking 4 81
apache and php 3 99
Guacamole and browser performance 1 65
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…
In this video I am going to show you how to back up and restore Office 365 mailboxes using CodeTwo Backup for Office 365. Learn more about the tool used in this video here: http://www.codetwo.com/backup-for-office-365/ (http://www.codetwo.com/ba…
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…

863 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

24 Experts available now in Live!

Get 1:1 Help Now