From owner-freebsd-questions Wed Aug 12 11:24:54 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id LAA13082 for freebsd-questions-outgoing; Wed, 12 Aug 1998 11:24:54 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from ccsales.com (ccsales.ccsales.com [207.137.172.4]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id LAA13061 for ; Wed, 12 Aug 1998 11:24:44 -0700 (PDT) (envelope-from randyk@ccsales.com) Received: (from randyk@localhost) by ccsales.com (8.9.0/8.9.0) id LAA13632; Wed, 12 Aug 1998 11:23:56 -0700 (PDT) Message-ID: <19980812112356.59365@com> Date: Wed, 12 Aug 1998 11:23:56 -0700 From: randyk To: freebsd-questions@FreeBSD.ORG Subject: A Network Question - ifconfig/netstat Reply-To: randyk@ccsales.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.89i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hello, netstat -in shows: Name Mtu Network Address Ipkts Ierrs Opkts Oerrs Coll eth0 1500 931977 0 1258421 0 0 eth0 1500 207.155.75.16 207.155.75.161 931977 0 1258421 0 0 eth1* 1500 0 0 0 0 0 fxp0 1500 00.a0.c9.de.86.13 1416142 3 1018410 0 252 fxp0 1500 209.48.66.128 209.48.66.148 1416142 3 1018410 0 252 fxp1 1500 00.a0.c9.de.87.5f 303 0 443 0 0 fxp1 1500 216.0.20/23 216.0.20.1 303 0 443 0 0 lp0* 1500 0 0 0 0 0 tun0* 1500 0 0 0 0 0 sl0* 552 0 0 0 0 0 ppp0* 1500 0 0 0 0 0 lo0 16384 59 0 59 0 0 lo0 16384 127 127.0.0.1 59 0 59 0 0 netstat -rn shows: Routing tables Internet: Destination Gateway Flags Refs Use Netif Expire default 209.48.66.129 UGSc 5 1008048 fxp0 127.0.0.1 127.0.0.1 UH 0 24 lo0 207.155.75.128/27 207.155.75.162 UGSc 1 135637 eth0 207.155.75.161 127.0.0.1 UH 0 0 lo0 207.155.75.162 207.155.75.161 UH 2 269 eth0 209.48.66.128/26 link#3 UC 0 0 209.48.66.129 0:e0:b0:91:ca:20 UHLW 3 7 fxp0 18 209.48.66.148 0:a0:c9:de:86:13 UHLW 0 10 lo0 216.0.20.0 ff:ff:ff:ff:ff:ff UHLWb 0 2 fxp1 => 216.0.20/23 link#4 UC 0 0 Above, address 207.155.75.161 has a gateway of 127.0.0.1. Is this right/wrong? How did it happen? Here is my statement: ifconfig eth0 207.155.75.161 207.155.75.162 netmask 255.255.255.224 route add -net 207.155.75.128 -netmask 255.255.255.224 207.155.75.162 A little more info.: eth0 is used to sub-divide 207.155.75.128/26 into 2 /27's. One of the /27's (207.155.75.160/27) is used to pivot the other (207.155.75.128/27). There is a remote router (207.155.75.162) which has an ethernet port (207.155.75.129) which feeds the rest of the LAN (207.155.75.130-158). Please let me know if you think this is right/wrong and in what ways. Thanx, Randy Katz PS - The reason I'm asking is there was some sort of glitch and when I reset eth0 (ifconfig eth0 delete) and reissued the command (ifconfig eth0 207.155.75.161 207.155.75.162 netmask 255.255.255.224) it came back up... To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message