freebsd的网络配置

2005年8月10日:

对freebsd不熟悉,所以把配置网络的过程记录下来:

编辑:/etc/rc.config

加上:

defaultrouter="192.168.241.1"

ifconfig_em0="inet 192.168.241.131 netmask 255.255.255.0"

扫描二维码关注公众号,回复: 1314187 查看本文章

编辑:/etc/rc.local

加上路由配置:

/sbin/route add -host 192.168.241.2 192.168.241.1

#/sbin/route add -net 172.16.20.0/24 172.16.152.1

重启,看配置是否正确

猜你喜欢

转载自sofire.iteye.com/blog/1337647
今日推荐