iface lo inet loopback
auto eth1
iface eth1 inet static
address 10.0.4.240
netmask 255.255.252.0
broadcast 10.0.7.255
gateway 10.0.4.1
iface eth1 inet6 static
address 2001:740:7063:10::240
netmask 64
gateway 2001:740:7063:10::10
pre-up echo 0 > /proc/sys/net/ipv6/conf/eth1/autoconf
pre-up echo 0 > /proc/sys/net/ipv6/conf/eth1/accept_ra
root@ntp01:/# ifconfig
eth1 Link encap:Ethernet HWaddr 00:18:51:b9:d2:fd
inet addr:10.0.4.240 Bcast:10.0.7.255 Mask:255.255.252.0
inet6 addr: fe80::218:51ff:feb9:d2fd/64 Scope:Link
inet6 addr: 2001:740:7063:10::240/64 Scope:Global
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:7 errors:0 dropped:0 overruns:0 frame:0
TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:500 (500.0 B) TX bytes:564 (564.0 B)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
root@ntp01:/# ip addr show eth1
5: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UNKNOWN
link/ether 00:18:51:b9:d2:fd brd ff:ff:ff:ff:ff:ff
inet6 2001:740:7063:10::240/64 scope global
valid_lft forever preferred_lft forever
inet6 fe80::218:51ff:feb9:d2fd/64 scope link
valid_lft forever preferred_lft forever