JunOS8.1VMware上OSPF成功
注意:我把网络类型改成了NBMA,算是规避吧,并没有解决E1000不支持组播的问题.配置如下
Juniper:
[email=root@flick]root@flick[/email]> show configuration
## Last commit: 2006-12-28 15:54:06 UTC by root
version 8.1R1.5;
system {
host-name flick;
root-authentication {
encrypted-password "$1$yb5RmUA2$FyBsQe2Jf8n0p2Da1Ms78."; ## SECRET-DATA
}
syslog {
user * {
any emergency;
}
file messages {
any notice;
authorization info;
}
file interactive-commands {
interactive-commands any;
}
}
}
interfaces {
em0 {
unit 0 {
family inet {
address 192.168.20.1/24;
}
}
}
}
protocols {
ospf {
area 0.0.0.0 {
interface em0.0 {
interface-type nbma;
neighbor 192.168.20.20;
}
}
}
}
cisco:
R2#show run
Building configuration...
Current configuration : 1159 bytes
!
version 12.3
hostname R2
!
interface Ethernet0/0
ip address 192.168.20.20 255.255.255.0
ip ospf network non-broadcast
half-duplex
!
interface Ethernet0/1
ip address 9.0.0.1 255.255.255.252
half-duplex
!
router ospf 1
log-adjacency-changes
network 9.0.0.1 0.0.0.0 area 0
network 192.168.20.20 0.0.0.0 area 0
neighbor 192.168.20.1 priority 128
ip classless
!
!
end
Juniper上的路由:
[email=root@flick]root@flick[/email]> show route
inet.0: 4 destinations, 4 routes (4 active, 0 holddown, 0 hidden)
+ = Active Route, - = Last Active, * = Both
9.0.0.0/30 *[OSPF/10] 00:04:49, metric 11
> to 192.168.20.20 via em0.0
192.168.20.0/24 *[Direct/0] 00:41:23
> via em0.0
192.168.20.1/32 *[Local/0] 00:41:23
Local via em0.0
224.0.0.5/32 *[OSPF/10] 00:17:21, metric 1
MultiRecv
Cisco上的路由:
R2#show ip route
Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2
i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
ia - IS-IS inter area, * - candidate default, U - per-user static route
o - ODR, P - periodic downloaded static route
Gateway of last resort is not set
9.0.0.0/30 is subnetted, 1 subnets
C 9.0.0.0 is directly connected, Ethernet0/1
C 192.168.20.0/24 is directly connected, Ethernet0/0