Command for Creating a New Firewall @ 資訊維誌 :: 隨意窩 Xuite日誌
  • 關鍵字
  • 相關資訊
    1. 沒有新回應!
  • 平均分數:0 顆星
    投票人數:0
    我要評分:
  • 沒有新引用
    201404111504Command for Creating a New Firewall

    Check Current NICs Mac-address
    > interface ethernet print

    Assign Name for NICs
    > interface ethernet set ether1 name=LAN
    > interface ethernet set ether2 name=WAN

    Assign Public IP for WAN NIC
    > ip address add address=1.2.3.4/24 interface=WAN

    Config Default Gateway
    > ip route add dst-address=0.0.0.0/0 gatway=1.2.3.254

    Disable / Enabl...|日誌首頁|VMware vSphere PowerCLI上一篇Disable / Enable Devices in Windows XP...下一篇VMware vSphere PowerCLI
    回應