Solved

Removing a route at boot

Posted on 2004-08-04
3
252 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Visualize your virtual and backup environments

Create well-organized and polished visualizations of your virtual and backup environments when planning VMware vSphere, Microsoft Hyper-V or Veeam deployments. It helps you to gain better visibility and valuable business insights.

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…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

726 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