Difference between revisions of "EBGP JUNOS Projekt"
From Teknologisk videncenter
m (→Grundlæggende) |
m (→Grundlæggende) |
||
Line 1: | Line 1: | ||
Prøv at konfigurer følgende setup på en Juniper SRX: [http://mars.tekkom.dk/mediawiki/images/2/25/BGP_Demo_setup.pdf BGP Demo Setup] | Prøv at konfigurer følgende setup på en Juniper SRX: [http://mars.tekkom.dk/mediawiki/images/2/25/BGP_Demo_setup.pdf BGP Demo Setup] | ||
=Opgave= | =Opgave= | ||
− | ==Grundlæggende== | + | ==Grundlæggende forbindelser== |
*Konfigurer IP Adresser på alle Logical Tunnel interfaces | *Konfigurer IP Adresser på alle Logical Tunnel interfaces | ||
**De skal ligge i 10.255.0.X/30 netværkene | **De skal ligge i 10.255.0.X/30 netværkene | ||
**LT interfacet skal have samme unit nummer som .4 oktet i op adressen(10.255.0.2 = lt-0/0/0.2) | **LT interfacet skal have samme unit nummer som .4 oktet i op adressen(10.255.0.2 = lt-0/0/0.2) | ||
+ | ===Konfiguration=== | ||
+ | Konfigurer de logiske interfaces og forbind dem | ||
+ | <source lang=cli> | ||
+ | root@SRX240> <input>show configuration interfaces lt-0/0/0.2</input> | ||
+ | <notice>encapsulation ethernet; | ||
+ | peer-unit 1;</notice> | ||
+ | family inet { | ||
+ | address 10.255.0.2/30; | ||
+ | } | ||
+ | |||
+ | root@SRX240> <input>show configuration interfaces lt-0/0/0.1</input> | ||
+ | <notice>encapsulation ethernet; | ||
+ | peer-unit 2;</notice> | ||
+ | family inet { | ||
+ | address 10.255.0.1/30; | ||
+ | } | ||
+ | </source> | ||
+ | ===Verificering=== | ||
Kontroller at de virtuelle routere kan pinge hinanden. | Kontroller at de virtuelle routere kan pinge hinanden. | ||
<source lang=cli> | <source lang=cli> | ||
Line 17: | Line 35: | ||
round-trip min/avg/max/stddev = 1.012/1.071/1.132/0.049 ms | round-trip min/avg/max/stddev = 1.012/1.071/1.132/0.049 ms | ||
</source> | </source> | ||
+ | |||
=Links= | =Links= | ||
{{Source cli}} | {{Source cli}} |
Revision as of 09:22, 5 November 2014
Prøv at konfigurer følgende setup på en Juniper SRX: BGP Demo Setup
Opgave
Grundlæggende forbindelser
- Konfigurer IP Adresser på alle Logical Tunnel interfaces
- De skal ligge i 10.255.0.X/30 netværkene
- LT interfacet skal have samme unit nummer som .4 oktet i op adressen(10.255.0.2 = lt-0/0/0.2)
Konfiguration
Konfigurer de logiske interfaces og forbind dem
root@SRX240> <input>show configuration interfaces lt-0/0/0.2</input>
<notice>encapsulation ethernet;
peer-unit 1;</notice>
family inet {
address 10.255.0.2/30;
}
root@SRX240> <input>show configuration interfaces lt-0/0/0.1</input>
<notice>encapsulation ethernet;
peer-unit 2;</notice>
family inet {
address 10.255.0.1/30;
}
Verificering
Kontroller at de virtuelle routere kan pinge hinanden.
root@SRX240> <input>ping 10.255.0.2 routing-instance PE5</input>
PING 10.255.0.2 (10.255.0.2): 56 data bytes
<notice>64 bytes from 10.255.0.2: icmp_seq=0 ttl=64 time=1.132 ms
64 bytes from 10.255.0.2: icmp_seq=1 ttl=64 time=1.068 ms
64 bytes from 10.255.0.2: icmp_seq=2 ttl=64 time=1.012 ms</notice>
^C
--- 10.255.0.2 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max/stddev = 1.012/1.071/1.132/0.049 ms