On Fri, 14 Jan 2005, Jerry Davis wrote:
> On Wednesday 12 January 2005 08:13 pm, Mikey wrote:
>
> 1. know what your ip address of the gateway (router) is.
>
> route add default gw <the ip address of the router>
The problem here is that Mikey is asking NetBSD questions on a Linux list.
This route command syntax will not work on NetBSD.
> > 1-# ifconfig ex0
> > 2-ex0: flags=8863<UP,BROADCAST,NOTRAILERS,SIMPLEX,MULTICAST> MTU 1500
> > 3- capabilities=7<IP4CSUM,TCP4CSUM,UDP4CSUM>
> > 4- enabled=0<>
> > 5- address: 00:00:00:00:00:00
> > 6- media: Ethernet none (none)
Notice that the MAC/hardware address is all zeros. That looks wrong to
me. I am not sure what that means.
> > 7- inet 10.10.10.3 netmask 0xff000000 broadcast 10.255.255.255
> > 8- inet6 fe80::d41d:8f00:b204%ex0 prefixlen 64 scopeid 0x1
> > 9-
> > 10-# route show
> > 11-
> > 12-Routing tables
> > 13-
> > 14-Internet:
> > 15-Destination Gateway Flags
> > 16-10.0.0.0 link#1 U
> > 17-loopback 127.0.0.1 UGR
> > 18-loopback 127.0.0.1 UH
As was noticed, no default gateway. That should not matter for the
original problem though. (By the way, remove the "gw" keyword to set the
default route using example above.)
Jeremy C. Reed
BSD News, BSD tutorials, BSD links
http://www.bsdnewsletter.com/
---------------------------------------------------
PLUG-discuss mailing list -
PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change you mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss