Skip to content

Instantly share code, notes, and snippets.

@naijab
Last active April 8, 2020 09:32
Show Gist options
  • Save naijab/9290c56c17c36dd68b6110a03f107801 to your computer and use it in GitHub Desktop.
Save naijab/9290c56c17c36dd68b6110a03f107801 to your computer and use it in GitHub Desktop.
NETWORK II Route Management

Add port to Vlan

  1. Create VLAN

vlan xx

display vlan

  1. Add Port

int g 0/0/x

port link-type access

port default vlan xx

  1. Create Int VLAN

int vlanif xx

display ip int brief

  1. Add IP Address

ตั้ง ip ที่ design เป็น hop ip address x.x.x.x x

  1. Names router id

router-id <number>

exp. router-id 1.1.1.1

  1. ospf
  2. area <number>
  3. network <network-id> <wildcard>

network 10.5.100.0 0.0.0.255

  1. Enter to rip

rip

  1. Enter rip version

version <number>

  1. Add network id of our

network <network-id>

Example Gateway: ถ้า 10.0.0.1 ก็ต้องตั้งค่า ip address ใน int vlan เป็น 10.0.0.1

  1. Add Routing

ip route-static <destination-ip> <destination-mask> <destination-hop>

exp. ip route-static 10.0.0.0 8 100.0.0.1

display ip routing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment