Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision Both sides next revision
cmd:route [2011/02/27 13:08]
mcb30 created
cmd:route [2011/02/27 13:09]
mcb30
Line 43: Line 43:
 You cannot use the ''​route''​ command to modify the routing table. ​ If you wish to modify the routing table manually, you must use the ''​[[:​cmd:​set]]''​ command to configure the appropriate settings. ​ For example, to open a network interface and configure it with a temporary static IP address: You cannot use the ''​route''​ command to modify the routing table. ​ If you wish to modify the routing table manually, you must use the ''​[[:​cmd:​set]]''​ command to configure the appropriate settings. ​ For example, to open a network interface and configure it with a temporary static IP address:
  
-    ​iPXE> ​ifopen net0 +    ifopen net0 
-    ​iPXE> ​set net0/ip 192.168.0.3 +    set net0/ip 192.168.0.3 
-    ​iPXE> ​set net0/​netmask 255.255.255.0 +    set net0/​netmask 255.255.255.0 
-    ​iPXE> ​set net0/​gateway ​192.168.0.1 +    set net0/​gateway 192.168.0.1
-    iPXE> route +
-    net0: 192.168.0.3/​255.255.255.0 gw 192.168.0.1+
  
cmd/route.txt · Last modified: 2011/03/23 19:23 by mcb30
Recent changes RSS feed CC Attribution-Share Alike 4.0 International Driven by DokuWiki
All uses of this content must include an attribution to the iPXE project and the URL https://ipxe.org
References to "iPXE" may not be altered or removed.