- 论坛徽章:
- 0
|
Multihomed Host
To create a multihomed host:
1. Become superuser on the prospective multihomed host.
2. Create an /etc/hostname.interface file for each additional
network interface installed in the machine.
3. Type:
# touch /etc/notrouter
This creates an empty file called /etc/notrouter.
4. Reboot the machine.
When the machine reboots, the startup script looks for the presence of
the /etc/notrouter file. If the file exists, the startup script does not
run in.routed -s or in.rdisc -r, and does not turn on IP
forwarding on all interfaces configured “up” by ifconfig. This
happens regardless of whether an /etc/gateways file exists. Thus the
machine is now a multihomed host.
===================================
详细内容可以看SA389-SG的第六章 |
|