Date: Sun, 4 Jun 2000 22:21:25 -0400 From: Ben Williams <williamsl@home.com> To: "Raymundo M. Vega" <RaymundoVega@home.com> Cc: FreeBSD-Questions@FreeBSD.org Subject: Re[2]: network setup Message-ID: <2931.000604@home.com> In-Reply-To: <3938016B.268E0581@home.com> References: <3938016B.268E0581@home.com>
next in thread | previous in thread | raw e-mail | index | archive | help
I tried this last week when I was on-site and I couldn't get out when I had .61 as the default route. Here's a copy of what I did (from memory): # ifconfig pn0 down # route delete default (the old ccc.ddd.25.1 route) # ifconfig dm0 ccc.ddd.78.62 netmask 255.255.255.252 media 100baseTX mediaopt full-duplex up # route add default ccc.ddd.78.61 ( I actually `script /var/tmp/ifconfig_script`ed this but I lost it and wont be able to redo it till I get back up on-site) # ping -c10 ccc.ddd.78.61 100% Packet loss. # ping -c10 w.x.y.z (an IP outside the network I'm working at) 100% Packet loss. # route delete default # ifconfig pn0 aaa.bbb.25.2 netmask 255.255.255.248 up # route add default aaa.bbb.25.1 and here things work and so they sit. Can anyone see something I did wrong? To recap my goal is to have two links to the net (aaa.bbb.25.1 and ccc.ddd.78.61) on their own NIC's (pn0 and dm0) with a "third" NIC (pn1) pointing the the "internal" (real IP's, not FUA) hosts on the network. -- Ben. Quoting Raymundo M. Vega Sunday, June 04, 2000 RMV> Ben Williams wrote: >> >> This is from one of my ISP's: >> >> > aaa.bbb.78.62 netmask 255.255.255.252 >> > gateway should be aaa.bbb.78.61 >> >> Is this possible? If so how? AFAIK .61 is the network address for that >> subnet... RMV> no .61 is the address of the default gateway, login as root and give RMV> the commands: RMV> ifconfig <int_name> aaa.bbb.78.62 netmask 255.255.255.252 RMV> route add default aaa.bbb.78.61 1. This didn't work for me. (See above) 2. You can only have one default route and I want to keep both lines connected... RMV> good luck RMV> raymundo --Ben Williams mailto:received@email dot com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?2931.000604>