This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
cmd:route [2011/02/27 13:09] mcb30 |
cmd:route [2011/03/23 19:23] mcb30 |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Show routing table ====== | + | ====== Display routing table ====== |
===== Synopsis ===== | ===== Synopsis ===== | ||
Line 7: | Line 7: | ||
===== Examples ===== | ===== Examples ===== | ||
- | === Show the routing table === | + | === Display the routing table === |
route | route | ||
Line 17: | Line 17: | ||
===== Description ===== | ===== Description ===== | ||
- | Show the routing table, including the IP addresses assigned to each network interface. For example, to acquire an IP address via DHCP and then display the resulting routing table: | + | Display the routing table, including the IP addresses assigned to each network interface. For example, to acquire an IP address via DHCP and then display the resulting routing table: |
iPXE> dhcp && route | iPXE> dhcp && route | ||
Line 27: | Line 27: | ||
If a network interface is not open, then its route will be marked as ''(inaccessible)''. For example: | If a network interface is not open, then its route will be marked as ''(inaccessible)''. For example: | ||
+ | iPXE> route | ||
net0: 192.168.0.101/255.255.255.0 gw 192.168.0.1 | net0: 192.168.0.101/255.255.255.0 gw 192.168.0.1 | ||
net1: 192.168.1.99/255.255.255.0 gw 192.168.1.1 (inaccessible) | net1: 192.168.1.99/255.255.255.0 gw 192.168.1.1 (inaccessible) |