⇤ ← Revision 1 as of 2013-11-08 16:10:32
Size: 256
Comment:
|
Size: 499
Comment:
|
Deletions are marked like this. | Additions are marked like this. |
Line 1: | Line 1: |
= bash = | |
Line 4: | Line 5: |
{{{ | {{{#!highlight bash |
Line 13: | Line 14: |
== Set extra IP to NIC == Adapted from http://unclean.org/howto/secondip.html Add extra IP 192.168.1.5 to NIC eth0 {{{#!highlight bash ifconfig eth0:0 192.168.1.5 route add -host 192.168.1.5 dev eth0:0 }}} |
bash
Bourne again shell.
Server loop
Set extra IP to NIC
Adapted from http://unclean.org/howto/secondip.html
Add extra IP 192.168.1.5 to NIC eth0