2007年9月15日 星期六

【Debian】interfaces設定

#primary network interface (eth0) 對外介面
auto eth0
iface eth0 inet static
address 192.168.100.1
netmask 255.255.255.0
broadcast 192.168.100.255
network 192.168.100.0
gateway 192.168.100.1

#bridge interface (連接eth0及ath0)
auto br0
inface br0 inet static
address 192.168.1.254
netmask 255.255.255.0
network 192.168.1.0
broadcast 192.168.1.255
bridge_port eth1 ath0

沒有留言: