- 论坛徽章:
- 0
|
Multihomed Host\r\nTo create a multihomed host:\r\n1. Become superuser on the prospective multihomed host.\r\n2. Create an /etc/hostname.interface file for each additional\r\nnetwork interface installed in the machine.\r\n3. Type:\r\n# touch /etc/notrouter\r\nThis creates an empty file called /etc/notrouter.\r\n4. Reboot the machine.\r\nWhen the machine reboots, the startup script looks for the presence of\r\nthe /etc/notrouter file. If the file exists, the startup script does not\r\nrun in.routed -s or in.rdisc -r, and does not turn on IP\r\nforwarding on all interfaces configured “up” by ifconfig. This\r\nhappens regardless of whether an /etc/gateways file exists. Thus the\r\nmachine is now a multihomed host.\r\n===================================\r\n详细内容可以看SA389-SG的第六章 |
|