GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing man.openbsd.org — rdomain(4) - OpenBSD manual pages NAME
DESCRIPTIONThe traditional kernel routing system had a single table for
routes and allowed only non-conflicting IP address assignments. The
Routing tablesEach The highest ID that can be used for an
Routing domainsEach Network traffic within an When an interface is assigned to a non-existent
An rdomain can be deleted by removing all interfaces from it and then destroying the lo(4) interface with the unit number matching the ID. The highest ID that can be used for an
EXAMPLESPut em0 and lo4 in rdomain 4: # ifconfig em0 rdomain 4 # ifconfig lo4 inet 127.0.0.1/8 # ifconfig em0 192.0.2.100/24 List all rdomains with associated interfaces and routing tables: $ netstat -RSet a default route and localhost reject route within rtable 4: # route -T4 -qn add -net 127 127.0.0.1 -reject # route -T4 -n add default 192.0.2.1 Start sshd(8) in rtable 4: # route -T4 exec
/usr/sbin/sshdDisplay the routing table used by each process: $ ps aux -o rtableDisplay the routing table of the current process: $ id -RA pf.conf(5) snippet to block incoming port 80, and nat-to and move to rtable 0 on interface em1: block in on rdomain 4 proto tcp to any port 80 match out on rdomain 4 to !$internal_net nat-to (em1) rtable 0 Delete rdomain 4 again: # ifconfig em0 -rdomain # ifconfig lo4 destroy SEE ALSOid(1), netstat(1), ps(1), lo(4), route(4), pf.conf(5), ifconfig(8), route(8) HISTORYOpenBSD support for
CAVEATSNo tool is available to assign more than one rtable to an rdomain other than to the default one (0). An rtable cannot be deleted. Deleting an rdomain will move its rtable into the default rdomain. |
| You are visitor 01402503 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |