Skip to content

Instantly share code, notes, and snippets.

@chiehwen
Created May 12, 2015 18:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save chiehwen/9a60f16e948975bdf014 to your computer and use it in GitHub Desktop.
Save chiehwen/9a60f16e948975bdf014 to your computer and use it in GitHub Desktop.
ProCurve 2900-24G# configure terminal
ProCurve 2900-24G(config)# vlan 1
ProCurve 2900-24G(vlan-1)# ip address 172.16.1.1 255.255.255.0
ProCurve 2900-24G(vlan-1)# exit
ProCurve 2900-24G(config)# ip route 0.0.0.0 0.0.0.0 172.16.1.254
ProCurve 2900-24G# show ip route
ProCurve 2900-24G# configure terminal
ProCurve 2900-24G(config)# vlan 2
ProCurve 2900-24G(vlan-2)# name Servers
ProCurve 2900-24G(vlan-1)# ip address 172.16.2.1 255.255.255.0
ProCurve 2900-24G(vlan-2)# Exit
ProCurve 2900-24G(config)# show vlan
ProCurve 2900-24G(config)# vlan 2
ProCurve 2900-24G(vlan-2)# untagged 21-22
ProCurve 2900-24G(vlan-2)# Exit
ProCurve 2900-24G(config)# vlan 2 untagged 21-22
ProCurve 2900-24G(config)# show vlan ports 21-22
ProCurve 2900-24G(config)# ip routing
ProCurve 2900-24G(config)# exit
ProCurve 2900-24G(config)# show ip
ProCurve 2900-24G# write memory
ProCurve 2900-24G(config)# IP route 172.16.2.0/24 172.16.1.1
ProCurve 2900-24G(config)# dhcp-relay
ProCurve 2900-24G(config)# vlan 1
ProCurve 2900-24G(vlan-1)# ip helper-address 172.16.1.20
ProCurve 2900-24G(vlan-1)# exit
ProCurve 2900-24G(config)# write memory
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment