Basic Network configuration:


Basic Network configuration: 



Telnet:

s(c)#enable password xxxxxx
      # line vty 0 4
      # password xxxxxx
      # login
      # transport input telnet

Port -Channel:

s(c)# interface port channel 1
      # description LAN-to-WAN
      # no switchport
      # ip address 100.100.100.2 255.255.255.240

s(c)# interface gigabitethernet 1/0/46
      # no switchport
      # no ip address
      # channel group 1 mode active

s(c)# interface gigabitethernet 1/0/48
      # no switchport
      # no ip address
      # channel group 1 mode active

Default Gateway:

s(c) # IP default-gateway 100.100.100.1 

Default Routing:

s(c)# ip routing
      # ip route 0.0.0.0  0.0.0.0 100.100.100.1

Vlan:

Create VLAN 10, 20, and...etc)

s(c)# vlan 10
      # name Servers

s(c)# interface gigabitethernet 1/0/1-30
      # switch port mode access
      # switch port access vlan 10

Domain name:

s(c) # ip domain name atmecs.com

DHCP:

s(c)# ip dhcp pool Servers
      # network 10.10.20.0 255.255.255.0
      # dns server 100.100.100.1 8.8.8.8
      # degfault-router 10.10.20.1

s(c)# ip dhcp excluded-address 10.10.20.2  10.10.20.50


VLAN Gateway

interface Vlan10
 ip address 10.10.20.2 255.255.255.0


Firewall:

LAN: port 1,2 make it as LAG.
IP address: 100.100.100.1/28

Routing:
Destination: 10.10.20.0/24
gateway: 100.100.100.2 (Switch gateway)
Interface: LAN 100.100.100.1


Comments

Popular posts from this blog

How to configure Zabbix Monitoring tool on Ubuntu

DDOS attack - Script

Windows screen auto unlock - Script