GNS3中Dynamips、JunOS、BSD Router、Vyatta互联的OSPF配置
2011-04-22网络模拟器撒加26897°c
A+ A-实验所用软件版本
GNS3 0.7.4 所用 IOS 为 c2600-adventerprisek9_ivs-mz.124-15.T13.bin
BSD Router Project 0.35
JunOS 11.1R1.14
Vyatta 6.2
实验 TOP :
配置:
R1 :
interface FastEthernet0/0
ip address 202.195.100.1 255.255.255.128
duplex auto
speed auto
interface FastEthernet0/1
ip address 172.16.1.1 255.255.255.192
duplex auto
speed auto
router ospf 1
router-id 1.1.1.1
log-adjacency-changes
network 172.16.1.0 0.0.0.63 area 0
network 202.195.100.0 0.0.0.127 area 0
JUNOS9
version 11.1R1.14;
system {
root-authentication {
encrypted-password "$1$OztMx4oQ$kpJ8IQcfpgA2X7k8Ak.Cy0"; ## SECRET-DATA
}
syslog {
user * {
any emergency;
}
file messages {
any notice;
authorization info;
}
file interactive-commands {
interactive-commands any;
}
}
}
interfaces {
em1 {
unit 0 {
family inet {
address 202.195.100.2/25;
}
}
}
em2 {
unit 0 {
family inet {
address 219.230.155.2/27;
}
}
}
}
routing-options {
router-id 2.2.2.2;
}
protocols {
ospf {
area 0.0.0.0 {
interface em1.0;
interface em2.0;
}
}
}
BSD Router Project
Current configuration:
!
!
debug ospf6 lsa unknown
!
interface em0
ipv6 nd suppress-ra
!
interface em1
ip address 219.230.155.1/27
ipv6 nd suppress-ra
!
interface em2
ip address 211.65.64.1/28
ipv6 nd suppress-ra
!
interface em3
ipv6 nd suppress-ra
!
interface em4
ipv6 nd suppress-ra
!
interface em5
ipv6 nd suppress-ra
!
interface lo0
!
router ospf
ospf router-id 3.3.3.3
network 211.65.64.0/28 area 0.0.0.0
network 219.230.155.0/27 area 0.0.0.0
!
ip forwarding
ipv6 forwarding
!
line vty
!
end
Vyatta
interfaces {
ethernet eth0 {
duplex auto
hw-id 52:54:00:12:34:56
smp_affinity auto
speed auto
}
ethernet eth1 {
address 172.16.1.2/26
duplex auto
smp_affinity auto
speed auto
}
ethernet eth2 {
address 211.65.64.2/28
duplex auto
smp_affinity auto
speed auto
}
loopback lo {
}
}
protocols {
ospf {
area 0 {
network 172.16.1.0/26
network 211.65.64.0/28
}
parameters {
router-id 4.4.4.4
}
}
}
system {
config-management {
commit-revisions 20
}
console {
device ttyS0 {
speed 9600
}
}
host-name vyatta
login {
user root {
authentication {
encrypted-password ****************
plaintext-password ****************
}
level admin
}
user vyatta {
authentication {
encrypted-password ****************
}
level admin
}
}
ntp {
server 0.vyatta.pool.ntp.org {
}
server 1.vyatta.pool.ntp.org {
}
server 2.vyatta.pool.ntp.org {
}
}
package {
auto-sync 1
repository community {
components main
distribution stable
password ****************
url https://packages.vyatta.com/vyatta
username ""
}
}
syslog {
global {
facility all {
level notice
}
facility protocols {
level debug
}
}
}
time-zone GMT
}
各设备上的路由表:
R1
JunOS
BSD Router Project