eth0(内网) IP : 192.168.0.102
eth1(外网)
配置内核:















创建eth1网络脚本
# ln -s /etc/init.d/net.lo /etc/init.d/net.eth1
安装ppp软件:
# emerge net-dialup/ppp
创建PPP和以太网卡网络脚本
# ln -s /etc/init.d/net.lo /etc/init.d/net.ppp0
确保在/etc/conf.d/rc设定RC_NET_STRICT_CHECKING="yes"。
配置/etc/conf.d/net。






















设置 系统启动,自动启动拨号:
#rc-update add net.eth0 default
#rc-update add net.eth1 default
#rc-update add net.ppp0 default