Netemu 虚拟化先锋 's Archiver

ztsx08 发表于 2008-7-30 15:01

谁来帮我看看是什么原因

1.设置计算机和路由器的IP地址
[root#PCA root]# ifconfig eth0 10.65.1.1 netmask 255.255.0.0
[root#PCB root]# ifconfig eth0 10.71.1.1 netmask 255.255.0.0
[root#PCC root]# ifconfig eth0 10.70.1.1 netmask 255.255.0.0
[root#PCA root]# route add default gw 10.65.1.2
[root#PCB root]# route add default gw 10.71.1.2
[root#PCC root]# route add default gw 10.70.1.2

    设置RouterA的IP地址: (子网掩码是255.255.0.0)
f0/0: 10.65.1.2  ----->10.65.1.1 (PCA) (箭头表示连接)
f0/1: 10.66.1.2
s0/0: 10.67.1.2
s0/1: 10.68.1.2  -----> (RouterA的s0/1接RouterB的s0/0)

    设置RouterB的IP地址:
s0/0: 10.68.1.1  <----
s0/1: 10.69.1.2
f0/0: 10.70.1.2
f0/1: 10.71.1.2  ---->10.71.1.1 (PCB)
连接:pca-routeaA f0/0
        pcb-routeB f0/1
       pcc-routeB f0/0
       routeB s0/0 routeA s0/1
以上都以做完 为什么用 show ip route
提是:ip routing is not set
请问还如何设置route 的IP地址..........

cjc8915 发表于 2008-7-31 09:56

你是什么产品的命令??juniper的么?

qwer295 发表于 2008-8-8 16:29

xx21 xx21

MissYou 发表于 2009-8-4 00:08

show   ip  route   是显示路由表,你还没有配置呢,用静态路由或RIP、OSPF配置才行的。不过我没用过你这种命令,具体的不会y188

2008小周 发表于 2009-8-4 09:56

不是juniper!

页: [1]

Powered by Discuz! Archiver 7.0.0  © 2001-2009 Comsenz Inc.