1 | nasir@thirdday:~$ ssh lrouter_0_2@64.57.19.134 |
---|
2 | lrouter_0_2@64.57.19.134's password: |
---|
3 | |
---|
4 | nasir@thirdday:~$ ssh lrouter_0_1@64.57.19.134 |
---|
5 | --- JUNOS 10.2R1.8 built 2010-05-27 20:51:51 UTC |
---|
6 | lrouter_0_1@shadowbox-kansascity-1:lrouter_0_1> show con |
---|
7 | ^ |
---|
8 | 'con' is ambiguous. |
---|
9 | Possible completions: |
---|
10 | configuration Show current configuration |
---|
11 | connections Show circuit cross-connect connections |
---|
12 | lrouter_0_1@shadowbox-kansascity-1:lrouter_0_1> show configuration |
---|
13 | interfaces { |
---|
14 | ge-0/0/0 { |
---|
15 | unit 321 { |
---|
16 | description "Logical Interface kans0if0| llink_0_4"; |
---|
17 | vlan-id 321; |
---|
18 | family inet { |
---|
19 | address 10.10.2.2/24; |
---|
20 | } |
---|
21 | } |
---|
22 | } |
---|
23 | gr-1/2/0 { |
---|
24 | unit 4 { |
---|
25 | description "Logical Interface kans0if1"; |
---|
26 | tunnel { |
---|
27 | source 10.3.0.1; |
---|
28 | destination 10.2.0.1; |
---|
29 | } |
---|
30 | family inet { |
---|
31 | address 192.168.101.2/24; |
---|
32 | } |
---|
33 | } |
---|
34 | unit 5 { |
---|
35 | description "Logical Interface kans0if2"; |
---|
36 | tunnel { |
---|
37 | source 10.3.0.1; |
---|
38 | destination 10.1.0.1; |
---|
39 | } |
---|
40 | family inet { |
---|
41 | address 192.168.102.1/24; |
---|
42 | } |
---|
43 | } |
---|
44 | } |
---|
45 | lt-1/2/0 { |
---|
46 | unit 0 { |
---|
47 | description "GATEWAY"; |
---|
48 | encapsulation ethernet; |
---|
49 | peer-unit 1; |
---|
50 | family inet { |
---|
51 | address 10.3.0.1/30; |
---|
52 | } |
---|
53 | } |
---|
54 | } |
---|
55 | lo0 { |
---|
56 | unit 1 { |
---|
57 | description "LOOPBACK INTERFACE"; |
---|
58 | } |
---|
59 | } |
---|
60 | } |
---|
61 | routing-options { |
---|
62 | static { |
---|
63 | route 0.0.0.0/0 next-hop 10.3.0.2; |
---|
64 | } |
---|
65 | } |
---|
66 | |
---|
67 | lrouter_0_1@shadowbox-kansascity-1:lrouter_0_1> |
---|
68 | |
---|
69 | lrouter_0_1@shadowbox-kansascity-1:lrouter_0_1> show route |
---|
70 | |
---|
71 | inet.0: 9 destinations, 9 routes (9 active, 0 holddown, 0 hidden) |
---|
72 | + = Active Route, - = Last Active, * = Both |
---|
73 | |
---|
74 | 0.0.0.0/0 *[Static/5] 21:25:48 |
---|
75 | > to 10.3.0.2 via lt-1/2/0.0 |
---|
76 | 10.3.0.0/30 *[Direct/0] 21:25:48 |
---|
77 | > via lt-1/2/0.0 |
---|
78 | 10.3.0.1/32 *[Local/0] 21:25:48 |
---|
79 | Local via lt-1/2/0.0 |
---|
80 | 10.10.2.0/24 *[Direct/0] 21:24:18 |
---|
81 | > via ge-0/0/0.321 |
---|
82 | 10.10.2.2/32 *[Local/0] 21:24:18 |
---|
83 | Local via ge-0/0/0.321 |
---|
84 | 192.168.101.0/24 *[Direct/0] 21:24:36 |
---|
85 | > via gr-1/2/0.4 |
---|
86 | 192.168.101.2/32 *[Local/0] 21:24:36 |
---|
87 | Local via gr-1/2/0.4 |
---|
88 | 192.168.102.0/24 *[Direct/0] 21:24:27 |
---|
89 | > via gr-1/2/0.5 |
---|
90 | 192.168.102.1/32 *[Local/0] 21:24:27 |
---|
91 | Local via gr-1/2/0.5 |
---|
92 | |
---|
93 | lrouter_0_1@shadowbox-kansascity-1:lrouter_0_1> |
---|
94 | lrouter_0_1@shadowbox-kansascity-1:lrouter_0_1> edit |
---|
95 | Entering configuration mode |
---|
96 | |
---|
97 | [edit] |
---|
98 | lrouter_0_1@shadowbox-kansascity-1:lrouter_0_1# set routing-options static route 10.10.1.0/24 next-hop 192.168.101.1 |
---|
99 | |
---|
100 | [edit] |
---|
101 | lrouter_0_1@shadowbox-kansascity-1:lrouter_0_1# set routing-options static route 10.10.3.0/24 next-hop 192.168.102.2 |
---|
102 | |
---|
103 | [edit] |
---|
104 | lrouter_0_1@shadowbox-kansascity-1:lrouter_0_1# commit |
---|
105 | commit complete |
---|
106 | |
---|
107 | [edit] |
---|
108 | lrouter_0_1@shadowbox-kansascity-1:lrouter_0_1# exit |
---|
109 | Exiting configuration mode |
---|
110 | |
---|
111 | lrouter_0_1@shadowbox-kansascity-1:lrouter_0_1> show route |
---|
112 | |
---|
113 | inet.0: 11 destinations, 11 routes (11 active, 0 holddown, 0 hidden) |
---|
114 | + = Active Route, - = Last Active, * = Both |
---|
115 | |
---|
116 | 0.0.0.0/0 *[Static/5] 21:30:45 |
---|
117 | > to 10.3.0.2 via lt-1/2/0.0 |
---|
118 | 10.3.0.0/30 *[Direct/0] 21:30:45 |
---|
119 | > via lt-1/2/0.0 |
---|
120 | 10.3.0.1/32 *[Local/0] 21:30:45 |
---|
121 | Local via lt-1/2/0.0 |
---|
122 | 10.10.1.0/24 *[Static/5] 00:00:20 |
---|
123 | > to 192.168.101.1 via gr-1/2/0.4 |
---|
124 | 10.10.2.0/24 *[Direct/0] 21:29:15 |
---|
125 | > via ge-0/0/0.321 |
---|
126 | 10.10.2.2/32 *[Local/0] 21:29:15 |
---|
127 | Local via ge-0/0/0.321 |
---|
128 | 10.10.3.0/24 *[Static/5] 00:00:20 |
---|
129 | > to 192.168.102.2 via gr-1/2/0.5 |
---|
130 | 192.168.101.0/24 *[Direct/0] 21:29:33 |
---|
131 | > via gr-1/2/0.4 |
---|
132 | 192.168.101.2/32 *[Local/0] 21:29:33 |
---|
133 | Local via gr-1/2/0.4 |
---|
134 | 192.168.102.0/24 *[Direct/0] 21:29:24 |
---|
135 | > via gr-1/2/0.5 |
---|
136 | 192.168.102.1/32 *[Local/0] 21:29:24 |
---|
137 | Local via gr-1/2/0.5 |
---|
138 | |
---|
139 | lrouter_0_1@shadowbox-kansascity-1:lrouter_0_1> |
---|
140 | |
---|