|
外网--moden--debian主机--交换机--内网
一、moden
moden:华为 smartax mt800
外网:IP 218.88.200.144
内网IP:192.168.0.1
二、debian主机
双网卡:
# cat /etc/network/interfaces
auto lo
iface lo inet loopback
# The primary network interface
allow-hotplug eth1
iface eth1 inet static
address 192.168.1.12
netmask 255.255.255.0
network 192.168.1.0
broadcast 192.168.1.255
gateway 192.168.0.1
dns-nameservers 61.139.2.69
auto eth0
iface eth0 inet static
address 192.168.0.2
netmask 255.255.255.0
netword 192.168.0.0
broadcast 192.168.0.255
gateway 192.168.0.1
dns-nameservers 61.139.2.69
症状:外网可以访问设置页面,但是不能访问debian主机 |
|