|
|

楼主 |
发表于 2007-3-1 19:59:46
|
显示全部楼层
搞定,哈哈,这下可以用另外一台linux服务器的打印机了。cupsys
修改 /etc/network/interfaces
- # The loopback network interface
- auto lo
- iface lo inet loopback
- # The primary network interface
- auto eth0
- iface eth0 inet static
- address 10.10.45.1
- netmask 255.255.255.0
- broadcast 10.10.45.255
- network 10.10.45.0
- gateway 10.10.45.254
- auto eth0:0
- iface eth0:0 inet static
- address 10.10.45.2
- netmask 255.255.255.0
- broadcast 10.10.45.255
- network 10.10.45.0
- #eth0:0这里不能设网关的..
- 修改/etc/network/run/ifstate
- lo=lo
- eth0=eth0
- eth0:0=eth0:0
- 重启网络服务 /etc/init.d/networking restart
复制代码
论坛不能搜索了真是不爽呀,用搜索引擎搜索出来的东西其实大部分都是linuxsir出来的。哎 |
|