9srv Manual Collection/plan9/ipconfig(8) | 9srv Manual Collection/plan9/ipconfig(8) |
---|
ip/rip [-bdr] [-x netmtpt]
ip/linklocal [ -t gwipv4 ] mac ...
ipv6on [ netmtpt ndbfile ]
Type may be ether, gbe, ppp, pkt, or loopback. The gbe type is equivalent to ether except that it allows jumbo packets (up to ~9KB). The pkt interface passes all IP packets to and from a user program. For ppp the device can be any byte stream device.
The verb (default add) determines the action performed. The usual verbs are:
The IPv6-specific verbs, which take different arguments, are:
The options are:
arptimeout, baddr, bflen, bootfile, clientid, cookie, discovermask, discoverrouter, dns, dom, dumpfile, etherencap, extpath, finger, homeagent, impress, ipaddr, ipforward, ipgw, ipmask, irc, lease, log, lpr, maxdatagram, maxmsg, message, mtu, name, netbiosdds, netbiosns, netbiosscope, netbiostype, ni, nisdomain, nisplus, nisplusdomain, nntp, nonlocal, ntp, overload, params, pathplateau, pathtimeout, policyfilter, pop3, rebindingtime, renewaltime, rl, rootpath, rs, serverid, smtp, st, staticroutes, stdar, subnetslocal, supplymask, swap, sys, tcpka, tcpkag, tcpttl, tftp, time, timeoff, trailerencap, ttl, type, vendorclass, www, xdispmanager, xfont
If DHCP is requested, a process is forked off to renew the lease before it runs out. If the lease does run out, this process will remove any configured addresses from the interface.
Rip runs the routing protocol RIP. It listens for RIP packets on connected networks and updates the kernel routing tables. The options are:
Linklocal prints the IPv6 EUI-64-based link-local address derived from the given mac address. Given -t, linklocal instead prints the 6to4 EUI-64-based IPv6 address derived from mac and 6to4 gateway gwipv4.
Ipv6on uses the network database at ndbfile to configure the network mounted on netmtpt with an IPv6 link-local address (derived from its MAC address) and an IPv6 global address, either from an ipv6 attribute for $sysname or the interface's MAC address, if present, or via stateless address autoconfiguration. It also attempts to add a default IPv6 route from a router advertisement.
Add a second address to the stack.
At Bell Labs, our primary IP stack is always to the company's internal firewall-protected network. The following creates an external IP stack to directly access the outside Internet. Note that the connection server uses a different set of ndb files. This prevents us from confusing inside and outside name/address bindings.
Get all addresses via DHCP. Configure the IPv6 link-local address automatically and listen for router announcements.
9srv Manual Collection/plan9/ipconfig(8) | Rev: Tue Mar 18 21:18:29 GMT 2014 |