Skip to content

Instantly share code, notes, and snippets.

@athom
Created January 7, 2011 08:41
Show Gist options
  • Save athom/769263 to your computer and use it in GitHub Desktop.
Save athom/769263 to your computer and use it in GitHub Desktop.
HTTPDPlat_IP=10.69.9.10
OAM_MASK=28
HCLBRG_IP=10.69.9.18
CP_MASK=29
TW_IP=10.56.127.245
CP_GW_IP=10.69.9.17
#fsclish -c "add networking address dedicated /HTTPDPlat iface eth4 ip-address $HTTPDPlat_IP/$OAM_MASK"
fsclish -c "add networking address dedicated /MGW_HCLBRG-0 iface eth2 ip-address $HCLBRG_IP/$CP_MASK"
fsclish -c "set routing node CLA-0 static-route $TW_IP/32 nexthop gateway address $CP_GW_IP on"
echo "show CP IP"
fsclish -c "show networking address iface eth2"
echo "show CP GW"
fsclish -c "show routing node CLA-0 static-route config all"
echo "ping TW"
ping -I eth2 $TW_IP
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment