forked from vincentbernat/network-lab
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvEOS2.conf
50 lines (50 loc) · 834 Bytes
/
vEOS2.conf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
! Configuration for vEOS2
!
hostname vEOS2
!
lldp run
spanning-tree mode none
!
! Internet interfaces
!
vlan 2
name internet
trunk group internet
!
interface Vlan2
ip address 203.0.113.2/24
!
interface Ethernet1
description To internet
switchport mode access
switchport access vlan 2
!
! Client interfaces
!
vlan 3
name client
trunk group client
!
interface Vlan3
ip address 198.51.100.3/24
ip virtual-router address 198.51.100.1
!
interface Ethernet2
description To clients
switchport mode access
switchport access vlan 3
!
interface Management1
!
router ospf 10
router-id 203.0.113.2
passive-interface default
no passive-interface Vlan2
network 192.0.2.0 0.0.0.3 area 0
network 203.0.113.0 0.0.0.255 area 0
network 198.51.100.0 0.0.0.255 area 0
!
ip routing
ip virtual-router mac-address 00:1c:73:00:00:99
!
end