|
网络配置 | Linux | 3430 次查看 |
|---|---|---|
|
||
已经有一个地址后用这样的命令呀! ifconfig eth0:1 ip netmask 255.255.255.0 在/etc/sysconfig/network-scripts/下修改ifcfg-eth0 ...ifcfg-eth1 在图形界面下的网络配置,加一个别名(例如:pop),并且给这个别名绑定同一个网卡的驱动,但是ip就可以另外定义一个(例如:33.36.3.6),我用过很好的. ping一下这个 $ ping pop $ 64 bytes from pop(33.36.3.6): icmp_seq=6 ttl=255 time=144 usc $ 64 bytes from pop(33.36.3.6): icmp_seq=6 ttl=255 time=144 usc $ 64 bytes from pop(33.36.3.6): icmp_seq=6 ttl=255 time=144 usc 就结束! |
||