Subject: Re: Re: (maybe silly) routing question
To: None <avombach@freesurf.ch>
From: Brian A. Seklecki <lavalamp@spiritual-machines.org>
List: port-sparc
Date: 12/05/2002 13:11:19
On Thu, 2002-12-05 at 03:40, avombach@freesurf.ch wrote:
> First of all many thanks for the instant replies, but I'm afraid that's=20
> not all of the solution ... if I do not use the le0 interface but the=20
> qe1 instead (rename /etc/ifconfig.le0 to ifconfig.qe1) and reboot I do=20
> not get a route as well. Ipforwarding is set in sysctl.conf. Here an=20
> excerpt of dmesg:
>=20
> bpp0 at sbus0 slot 4 offset 0xc800000 level 2 (ipl 3): dma rev 2
> ledma0 at sbus0 slot 4 offset 0x8400010: dma rev 2
> le0 at ledma0 slot 4 offset 0x8c00000 level 6: address=20
> 08:00:20:19:20:2d
> le0: 8 receive buffers, 2 transmit buffers
> qec0 at sbus0 slot 1 offset 0x20000 level 4 (ipl 7): 128K memory
> qe0 at qec0 slot 0 offset 0x0 rev 1 address 08:00:20:19:20:2d
> qe1 at qec0 slot 1 offset 0x0 rev 1 address 08:00:20:19:20:2d
> qe2 at qec0 slot 2 offset 0x0 rev 1 address 08:00:20:19:20:2d
> qe3 at qec0 slot 3 offset 0x0 rev 1 address 08:00:20:19:20:2d
> SUNW,DBRIe at sbus0 slot 2 offset 0x10000 level 9 not configured
>=20
> .. and from ifconfig -a:
>=20
> le0: flags=3D8822<BROADCAST,NOTRAILERS,SIMPLEX,MULTICAST> mtu 1500
> 	address: 08:00:20:19:20:2d
> 	media: Ethernet autoselect
> qe0: flags=3D8863<UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,MULTICAST> mtu=20
> 1500
> 	address: 08:00:20:19:20:2d
> 	media: Ethernet autoselect (10baseT)
> 	status: active
> 	inet 192.168.0.1 netmask 0xffffff00 broadcast 192.168.0.255
> 	inet6 fe80::a00:20ff:fe19:202d%qe0 prefixlen 64 scopeid 0x2
> qe1: flags=3D8863<UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,MULTICAST> mtu=20
> 1500
> 	address: 08:00:20:19:20:2d
> 	media: Ethernet autoselect (10baseT)
> 	status: active
> 	inet 10.0.0.3 netmask 0xff000000 broadcast 10.255.255.255
> 	inet6 fe80::a00:20ff:fe19:202d%qe1 prefixlen 64 scopeid 0x3
> qe2: flags=3D8822<BROADCAST,NOTRAILERS,SIMPLEX,MULTICAST> mtu 1500
> 	address: 08:00:20:19:20:2d
> 	media: Ethernet autoselect (10base5)
> 	status: no carrier
>=20
> .. finally from route show:
>=20
> Internet:

*squint* you don't have a default route set?  which host are you trying
to ping?  on what network? what interface?

either set defaultroute=3D"x.x.x.x" in /etc/rc.conf, or drop a one-line in
/etc/mygate

also, try running tcpdump(8) during the ping

-lava


> Destination       Gateway            Flags=20
> 10.0.0.0          link#3             U     =20
> 10.0.1.50         00:02:44:63:cb:d8  UH    =20
> loopback          127.0.0.1          UGR   =20
> localhost         127.0.0.1          UH    =20
> 192.168.0.0       link#2             U     =20
>=20
> With this configuration not using the le0 interface I  get "no route to=20
> host" for every ping. Only networks "seen" by le0 appear to be pingable=20
> ..
>=20
> ---
> Genug gewartet? sunrise ADSL: schneller im Internet.
> http://www.sunrise.ch/de/internet/int_ads.asp
> ---
> Assez attendu? Avec sunrise ADSL, surfez encore plus vite sur le net.
> http://www.sunrise.ch/fr/internet/int_ads.asp
> ---
> Stufo di aspettare? Con sunrise ADSL pi=F9 veloce che mai in Internet.
> http://www.sunrise.ch/it/internet/int_ads.asp
>=20