Differences
This shows you the differences between two versions of the page.
juniper:ipip [2009/02/04 18:25] a created |
juniper:ipip [2009/05/25 00:35] |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | **The configuration @ FreeBSD router:** | ||
- | |||
- | ifconfig gif0 create | ||
- | ifconfig gif0 inet 10.100.100.2 10.100.100.1 netmask 255.255.255.252 | ||
- | ifconfig gif0 tunnel 192.168.1.2 10.242.2.242 | ||
- | |||
- | **The configuration @ M7i:** | ||
- | |||
- | < | ||
- | show interfaces ip-1/ | ||
- | unit 0 { | ||
- | tunnel { | ||
- | source 10.242.2.242; | ||
- | destination 192.168.1.2; | ||
- | routing-instance { | ||
- | destination VRF-TEST; | ||
- | } | ||
- | } | ||
- | family inet { | ||
- | address 10.100.100.1/ | ||
- | } | ||
- | } | ||
- | </ | ||
- | |||
- | And also don't forget to define the ip-1/2/0.0 interface in the correct routing-instance (in this case, VRF-TEST routing -instance) | ||
- | |||
- | Network topology for testing purpose is shown below: | ||
- | |||
- | | ||
- | |||
- | And finally, based on the result below, we could see that it is possible to do ipip/gre tunnelling in M7i base system without AS PIC or LS PIC. M7i base system has 1 builtin tunnel interface. | ||
- | |||
- | < | ||
- | # show chassis hardware | ||
- | Hardware inventory: | ||
- | Item Version Part number Serial number Description | ||
- | Chassis 32297 M7i | ||
- | Midplane REV 04 710-008761 CE3630 | ||
- | Power Supply 0 Rev 02 740-008985 QF15548 DC | ||
- | Power Supply 1 Rev 02 740-008985 QF15558 DC | ||
- | Routing Engine REV 09 740-009459 1000542657 RE-5.0 | ||
- | CFEB REV 03 750-010463 CE7095 Internet Processor II | ||
- | FPC 0 E-FPC | ||
- | FPC 1 E-FPC | ||
- | PIC 2 BUILTIN BUILTIN 1x Tunnel | ||
- | PIC 3 REV 07 750-009098 CC7914 2x F/E, 100 BASE-TX | ||
- | </ | ||
- | |||
- | And these are the results: | ||
- | |||
- | I did ping from the M7i | ||
- | < | ||
- | # run ping 10.100.100.2 routing-instance VRF-TEST | ||
- | PING 10.100.100.2 (10.100.100.2): | ||
- | 64 bytes from 10.100.100.2: | ||
- | 64 bytes from 10.100.100.2: | ||
- | 64 bytes from 10.100.100.2: | ||
- | </ | ||
- | |||
- | and this is the result: | ||
- | < | ||
- | # tcpdump -n -i gif0 | ||
- | tcpdump: verbose output suppressed, use -v or -vv for full protocol decode | ||
- | listening on gif0, link-type NULL (BSD loopback), capture size 96 bytes | ||
- | 12: | ||
- | 12: | ||
- | 12: | ||
- | 12: | ||
- | 12: | ||
- | 12: | ||
- | -rendo- | ||
- | </ |