All pastes #616275 Raw Edit

Miscellany

public text v1 · immutable
·published 2007-07-12 15:40 UTC
rendered paste body
/etc/network/interfaces:

iface eth0:1 inet static
        up /root/test-ifup.sh $IFACE
        address 192.168.123.1
        netmask 255.255.255.0

/root/test-ifup.sh:

#!/bin/bash
echo $@

CLI:

# ifdown eth0:1 ; ifup eth0:1
eth0:1