Skip to content

Routeurs

Logan Montalto edited this page Feb 9, 2023 · 8 revisions
VLAN IP Interface
VLAN89 10.0.89.254 Fa0/1/2
VLAN99 10.0.99.254 Fa0/1/3
VLAN100 10.0.100.1 Fa0/1/1
VLAN200 10.0.200.1 Fa0/1/0
Config routeur
EdgeRouter#sh run
Building configuration...

Current configuration : 1654 bytes
!
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname EdgeRouter
!
boot-start-marker
boot-end-marker
!
!
no aaa new-model
ip cef
!
!
!
!
multilink bundle-name authenticated
!
!
archive
 log config
  hidekeys
!
!
!
!
!
interface FastEthernet0/0
 description Interface publique
 ip address 193.190.65.84 255.255.255.248
 ip nat outside
 ip virtual-reassembly
 duplex auto
 speed auto
!
interface FastEthernet0/1
 no ip address
 shutdown
 duplex auto
 speed auto
!
interface FastEthernet0/1/0
 switchport access vlan 200
!
interface FastEthernet0/1/1
 switchport access vlan 100
!
interface FastEthernet0/1/2
 switchport access vlan 89
!
interface FastEthernet0/1/3
 switchport access vlan 99
!
interface Serial0/0/0
 no ip address
 shutdown
 clock rate 2000000
!
interface Serial0/0/1
 no ip address
 shutdown
 clock rate 2000000
!
interface Vlan1
 no ip address
!
interface Vlan89
 ip address 10.0.89.254 255.255.255.0
 ip nat inside
 ip virtual-reassembly
!
interface Vlan99
 ip address 10.0.99.254 255.255.255.0
 ip nat inside
 ip virtual-reassembly
!
interface Vlan100
 ip address 10.0.100.1 255.255.255.252
 ip nat inside
 ip virtual-reassembly
!
interface Vlan200
 ip address 10.0.200.1 255.255.255.252
 ip nat inside
 ip virtual-reassembly
!
ip default-gateway 193.190.65.81
ip forward-protocol nd
ip route 0.0.0.0 0.0.0.0 193.190.65.81
!
!
ip http server
ip nat inside source list 10 interface FastEthernet0/0 overload
!
access-list 10 permit any
!
!
control-plane
!
!
line con 0
 logging synchronous
line aux 0
line vty 0 4
 login
!
scheduler allocate 20000 1000
end
Clone this wiki locally