Setting Routes and such

 
Thread Tools Search this Thread
Operating Systems Linux Debian Setting Routes and such
# 1  
Old 06-16-2004
Setting Routes and such

Ok, I made changes to my routing tables..... which file do I modify to make the routes initialize correctly when the machine boots up? I work with all flavours of Unix/Linux... but this is an older box...

Linux, Release 2.2.14-5.0.

I did a grep for the default route in /etc, but didnt find anything...

Any help would be appreciated.
# 2  
Old 06-17-2004
............

what distripution are you using? you are talking about the kernel, but we need the "vendor"

AIX = smitty route
FreeBSD = edit /etc/rc.conf (option defaultrouter)
HP-UX = /etc/rc.config.d/netconf
IRIX = /etc/config/static-route.options
Solaris = /etc/defaultrouter
Tru64 = /etc/routes

"linux"
redhat = /etc/sysconfig/network
debian = /etc/network/interfaces

g P
# 3  
Old 06-17-2004
openbsd = /etc/mygate

Smilie
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

Problem with routes in Solaris 10

Hello All, I have a Solaris 10 machine with 4 physical network interfaces configured viz. igb0, e1000g0, igb2 and e1000g2. Out of these interfaces, I am routing all my normal monitoring and O&M activities via. igb0 and e1000g0 interfaces. However, I am facing an issue on one of the... (4 Replies)
Discussion started by: mystition
4 Replies

2. IP Networking

Unix Network Routes

I would really appreciate some help with HP UX's Network Routes. Basically, what I want to do is, I would want a system with global ip (eg: 202.144.138.122) to ping/access my HP-UX server which is with private IP address (192.168.1.23). I have all the routers/switches in between properly route... (2 Replies)
Discussion started by: damchey
2 Replies

3. UNIX for Dummies Questions & Answers

Routes being automatically added

Hello, I have two AIX 5.3 servers that are supposedly set up exactly the same. The problem I am having is on one of the servers, it seems dynamic routes are being added mysteriously and non-periodically. This only happens on one server and not the other. Also, there doesn't seem to be a specific... (1 Reply)
Discussion started by: Conutmonky
1 Replies

4. AIX

Static Routes question

I added a static route through smit using: Communications applications and Services ==> TCIP/IP ==> Further Configuration ==> Static Routes ==> Add a Static Route ==> Route Type of host Filled in Destination Address, Default Gateway Address and Network Interface of en0. This... (2 Replies)
Discussion started by: jyoung
2 Replies

5. IP Networking

How to delete some ipv6 routes?

Hi, How can i delete the following routes on my OpenBSD 4.1 system? # route -n show (including only relevant ipv6-routes) Internet6: Destination Gateway Flags Refs Use Mtu Interface ::/104 ::1 UGRS 1 0 ... (1 Reply)
Discussion started by: phalcos
1 Replies

6. Solaris

adding routes in Solaris

Solaris Guru's What is the proper way to add routes in the routing table so after a node reboot the routes will not be lost. I understand the /etc/defaultrouter for the default router and the <route add> command but using this command routes will be removed once the node reboots. Thanks (7 Replies)
Discussion started by: Brad_52000
7 Replies

7. Solaris

Where are routes stored ?

Hi there When adding a route (or indeed deleting a route) which file is amended ? I am moving a box from one network to another and when it starts up it tries to connect run 'add net 192.x.x.x' etc etc ...but i dont want it to do that where do I edit these route additions cheers (5 Replies)
Discussion started by: hcclnoodles
5 Replies

8. AIX

Multiple Default routes

Hi All, I have a AIX server running v5.2 and its having multiple default routes configured to two seperate gateway. Here's the output of -- netstat -rn Routing tables Destination Gateway Flags Refs Use If PMTU Exp Groups Route Tree for Protocol Family 2... (2 Replies)
Discussion started by: rramanuj
2 Replies

9. UNIX for Dummies Questions & Answers

How to add 2 gateway routes?

I need some help adding routes in sco. I am using SCO Openserver 5.0.4. Basically I have 2 gateways here. The first is 10.15.1.1 and allows me access to the rest of the computers in the office and in other offices. The other gateway is 10.15.10.2 and is the sonicwall that will allow access... (3 Replies)
Discussion started by: cstovall
3 Replies

10. IP Networking

Multiple Interfaces and Routes

I have a Unix box with 2 network interfaces on the same IP subnet and would like to add a host route via a specific interface. Any assistance would be greatly appreciated. (3 Replies)
Discussion started by: diemos
3 Replies
Login or Register to Ask a Question