Mainpage
Searchform
History
Versions
Categories
Contents
Deutsch
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
:
/etc/route.conf
/sbin/init.d/route
/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.
/etc/route.conf
:
#
at the
beginning of a line, blank lines are ignored. Entries
have at least two and maximum four columns.
The address 0.0.0.0
or the keyword default
is
reserved to the default gateway's entry.
0.0.0.0
), the IP address or a computer's full name.
This computer can be the default gateway or a gateway, behind which a
computer or network is reachable.
255.255.255.255
.
init 1, to get again into the old runlevel after calling
init 2or
init 3.
# 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.0Example 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