1 | nasir@thirdday:~$ ssh lrouter_0_0@64.57.19.138 |
---|
2 | --- JUNOS 10.2R1.8 built 2010-05-27 20:51:51 UTC |
---|
3 | lrouter_0_0@shadowbox-saltlake-1:lrouter_0_0> |
---|
4 | lrouter_0_0@shadowbox-saltlake-1:lrouter_0_0> show configuration |
---|
5 | interfaces { |
---|
6 | ge-0/0/0 { |
---|
7 | unit 322 { |
---|
8 | description "Logical Interface salt0if0| llink_0_3"; |
---|
9 | vlan-id 322; |
---|
10 | family inet { |
---|
11 | address 10.10.1.2/24; |
---|
12 | } |
---|
13 | } |
---|
14 | } |
---|
15 | gr-1/2/0 { |
---|
16 | unit 4 { |
---|
17 | description "Logical Interface salt0if1"; |
---|
18 | tunnel { |
---|
19 | source 10.2.0.1; |
---|
20 | destination 10.1.0.1; |
---|
21 | } |
---|
22 | family inet { |
---|
23 | address 192.168.100.1/24; |
---|
24 | } |
---|
25 | } |
---|
26 | unit 5 { |
---|
27 | description "Logical Interface salt0if2"; |
---|
28 | tunnel { |
---|
29 | source 10.2.0.1; |
---|
30 | destination 10.3.0.1; |
---|
31 | } |
---|
32 | family inet { |
---|
33 | address 192.168.101.1/24; |
---|
34 | } |
---|
35 | } |
---|
36 | } |
---|
37 | lt-1/2/0 { |
---|
38 | unit 0 { |
---|
39 | description "GATEWAY"; |
---|
40 | encapsulation ethernet; |
---|
41 | peer-unit 1; |
---|
42 | family inet { |
---|
43 | address 10.2.0.1/30; |
---|
44 | } |
---|
45 | } |
---|
46 | } |
---|
47 | lo0 { |
---|
48 | unit 1 { |
---|
49 | description "LOOPBACK INTERFACE"; |
---|
50 | } |
---|
51 | } |
---|
52 | } |
---|
53 | routing-options { |
---|
54 | static { |
---|
55 | route 0.0.0.0/0 next-hop 10.2.0.2; |
---|
56 | } |
---|
57 | } |
---|
58 | |
---|
59 | lrouter_0_0@shadowbox-saltlake-1:lrouter_0_0> show route |
---|
60 | |
---|
61 | inet.0: 9 destinations, 9 routes (9 active, 0 holddown, 0 hidden) |
---|
62 | + = Active Route, - = Last Active, * = Both |
---|
63 | |
---|
64 | 0.0.0.0/0 *[Static/5] 18:19:06 |
---|
65 | > to 10.2.0.2 via lt-1/2/0.0 |
---|
66 | 10.2.0.0/30 *[Direct/0] 18:19:06 |
---|
67 | > via lt-1/2/0.0 |
---|
68 | 10.2.0.1/32 *[Local/0] 18:19:06 |
---|
69 | Local via lt-1/2/0.0 |
---|
70 | 10.10.1.0/24 *[Direct/0] 18:17:30 |
---|
71 | > via ge-0/0/0.322 |
---|
72 | 10.10.1.2/32 *[Local/0] 18:17:30 |
---|
73 | Local via ge-0/0/0.322 |
---|
74 | 192.168.100.0/24 *[Direct/0] 18:17:50 |
---|
75 | > via gr-1/2/0.4 |
---|
76 | 192.168.100.1/32 *[Local/0] 18:17:50 |
---|
77 | Local via gr-1/2/0.4 |
---|
78 | 192.168.101.0/24 *[Direct/0] 18:17:40 |
---|
79 | > via gr-1/2/0.5 |
---|
80 | 192.168.101.1/32 *[Local/0] 18:17:40 |
---|
81 | Local via gr-1/2/0.5 |
---|
82 | |
---|
83 | |
---|
84 | lrouter_0_0@shadowbox-saltlake-1:lrouter_0_0> edit |
---|
85 | Entering configuration mode |
---|
86 | |
---|
87 | [edit] |
---|
88 | lrouter_0_0@shadowbox-saltlake-1:lrouter_0_0# set routing-options static route 10.10.2.0/24 next-hop 192.168.101.2 |
---|
89 | |
---|
90 | [edit] |
---|
91 | lrouter_0_0@shadowbox-saltlake-1:lrouter_0_0# set routing-options static route 10.10.3.0/24 next-hop 192.168.100.2 |
---|
92 | |
---|
93 | lrouter_0_0@shadowbox-saltlake-1:lrouter_0_0# commit |
---|
94 | commit complete |
---|
95 | |
---|
96 | lrouter_0_0@shadowbox-saltlake-1:lrouter_0_0# exit |
---|
97 | Exiting configuration mode |
---|
98 | |
---|
99 | lrouter_0_0@shadowbox-saltlake-1:lrouter_0_0> show route |
---|
100 | |
---|
101 | inet.0: 12 destinations, 12 routes (12 active, 0 holddown, 0 hidden) |
---|
102 | + = Active Route, - = Last Active, * = Both |
---|
103 | |
---|
104 | 0.0.0.0/0 *[Static/5] 20:55:34 |
---|
105 | > to 10.2.0.2 via lt-1/2/0.0 |
---|
106 | 10.2.0.0/30 *[Direct/0] 20:55:34 |
---|
107 | > via lt-1/2/0.0 |
---|
108 | 10.2.0.1/32 *[Local/0] 20:55:34 |
---|
109 | Local via lt-1/2/0.0 |
---|
110 | 10.10.1.0/24 *[Direct/0] 20:53:58 |
---|
111 | > via ge-0/0/0.322 |
---|
112 | 10.10.1.2/32 *[Local/0] 20:53:58 |
---|
113 | Local via ge-0/0/0.322 |
---|
114 | 10.10.2.0/24 *[Static/5] 00:01:23 |
---|
115 | > to 192.168.101.2 via gr-1/2/0.5 |
---|
116 | 10.10.3.0/24 *[Static/5] 00:01:23 |
---|
117 | > to 192.168.100.2 via gr-1/2/0.4 |
---|
118 | 192.168.100.0/24 *[Direct/0] 20:54:18 |
---|
119 | > via gr-1/2/0.4 |
---|
120 | 192.168.100.1/32 *[Local/0] 20:54:18 |
---|
121 | Local via gr-1/2/0.4 |
---|
122 | 192.168.101.0/24 *[Direct/0] 20:54:08 |
---|
123 | > via gr-1/2/0.5 |
---|
124 | 192.168.101.1/32 *[Local/0] 20:54:08 |
---|
125 | Local via gr-1/2/0.5 |
---|
126 | |
---|
127 | |
---|