你的是什么路由器。按照cisco的命令设置格式应该是类似与下面的conf tint e0/0ip add 192.168.1.1 255.255.255.0no shutdownint s1/0ip add 10.0.0.1 255.255.255.0no shut