SuSE Support Database

Title: route.conf: Routing under S.u.S.E. Linux

---

Mainpage ---- Searchform ---- History ---- Versions ---- Categories ---- Contents
Deutsch
---

route.conf: Routing under S.u.S.E. Linux

Applies to

SuSE Linux: Versions since 4.4

Since S.u.S.E. Linux 4.4 the routing is not any more operated on variables in the file /etc/rc.config but on an own script in /sbin/init.d and a configuration file in /etc:

The routing is started with help from /etc/route.conf through /sbin/init.d/network (ifconfig) on /sbin/init.d/route, after the network hardware's initialisation or is stopped before the same one's shutdown.

In the file /etc/route.conf all required static routes can be entered, and certainly for all cases like: route to a computer, route to a computer via gateway, route to a network.

A routed start is not necessary here.

Procedure method and use

When you need special routes, the rules are shortly described in /etc/route.conf:

For new entries, one changes at best on the text console to the runlevel without network with the command
init 1
, to get again into the old runlevel after calling
init 2
or
init 3.

Examples

# Destination           Dummy/Gateway           Netmask                 
Device
#
# Net devices
127.0.0.0               0.0.0.0                 255.255.255.0           lo
204.127.235.0           0.0.0.0                 255.255.255.0           eth0
# Gateway
0.0.0.0                 204.127.235.41
# Host behind Gateway
207.68.156.51           207.68.145.45           255.255.255.255
# Net behind a Gateway
192.168.0.0             207.68.156.51           255.255.0.0
Example for ISDN/syncPPP with dynamic address allocation:
# syncppp with dynamic IP number at gateway 193.102.150.13
# first, a host route is set on the gateway, then the default route as 
# well on the gateway
193.102.150.13          0.0.0.0                 255.255.255.255         ippp0
default                 193.102.150.13

---

See also:

---

Keywords: ROUTE, ROUTE.CONF, NETWORK, BOOT, INSTALLATION, IFCONFIG, NETSTAT

---

Categories: Internet

---

Mainpage ---- Searchform ---- History ---- Versions ---- Categories ---- Contents
Deutsch
---

SDB-maddin_route, Copyright SuSE GmbH, Nuremberg, Germany - Version: 19. Feb 1997
Impressum - Last generated: 24. Feb 1999 15:10:46 by maddin with sdb_gen 1.00.0