Date: Fri, 22 Oct 1999 14:33:59 +0200 From: Graham Wheeler <gram@cequrux.com> To: Ruslan Ermilov <ru@ucb.crimea.ua> Cc: hackers@freebsd.org Subject: Re: aliasing a point-to-point interface Message-ID: <9910221435020H.17915@cequrux.com> In-Reply-To: <19991022133244.B10699@relay.ucb.crimea.ua> References: <99102118512208.17915@cequrux.com> <9910221201410E.17915@cequrux.com> <19991022133244.B10699@relay.ucb.crimea.ua>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 22 Oct 1999, you wrote: > What does `netstat -rn | grep <myalias>' show you after each command? > Are you running some routing software? GateD? routed? Before I begin, with the link configured with ifconfig ar0 inet 192.96.22.18 196.7.70.1 up: Routing tables Internet: Destination Gateway Flags Refs Use Netif Expire default 196.7.70.1 UGSc 52 0 ar0 127.0.0.1 127.0.0.1 UH 17 516 lo0 196.7.70.1 192.96.22.18 UH 53 0 ar0 After ifconfig ar0 inet 192.96.22.21 192.96.22.21 alias: Routing tables Internet: Destination Gateway Flags Refs Use Netif Expire default 196.7.70.1 UGSc 13 1 ar0 127.0.0.1 127.0.0.1 UH 15 106 lo0 192.96.22.21 192.96.22.21 UH 0 0 ar0 196.7.70.1 192.96.22.18 UH 14 0 ar0 After route delete -host 192.96.22.21: Routing tables Internet: Destination Gateway Flags Refs Use Netif Expire default 196.7.70.1 UGSc 13 1 ar0 127.0.0.1 127.0.0.1 UH 15 106 lo0 196.7.70.1 192.96.22.18 UH 14 0 ar0 After route add -host 192.96.22.21 127.1: Routing tables Internet: Destination Gateway Flags Refs Use Netif Expire default 196.7.70.1 UGSc 17 1 ar0 127.0.0.1 127.0.0.1 UH 17 118 lo0 192.96.22.21 127.0.0.1 UGHS 0 0 lo0 196.7.70.1 192.96.22.18 UH 18 0 ar0 I'm not running any routing daemons; all routes are static. -- Dr Graham Wheeler E-mail: gram@cequrux.com Cequrux Technologies Phone: +27(21)423-6065/6/7 Firewalls/Virtual Private Networks Fax: +27(21)24-3656 Data/Network Security Specialists WWW: http://www.cequrux.com/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9910221435020H.17915>