|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
From: Panagiotis Kotsiopoulos (pkotsiop
dsg.internet.gr)Date: Tue Apr 02 2002 - 08:14:04 CST
On Tue, 2 Apr 2002, Ricardo Souza wrote:
> I have a problem in obsd3 network.
>
> I have this. rl0 is working fine!
>
> EurecaBoX# ifconfig -a
> lo0: flags=8009<UP,LOOPBACK,MULTICAST> mtu 33224
> inet6 fe80::1%lo0 prefixlen 64 scopeid 0x5
> inet6 ::1 prefixlen 128
> inet 127.0.0.1 netmask 0xff000000
> lo1: flags=8008<LOOPBACK,MULTICAST> mtu 33224
> rl0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
> media: Ethernet autoselect (100baseTX)
> status: active
> inet 200.198.aaa.bbb netmask 0xfffffff8 broadcast 200.198.aaa.bbbc
> inet6 fe80::2e0:7dff:fe81:478b%rl0 prefixlen 64 scopeid 0x1
> rl1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
> media: Ethernet autoselect (none)
> status: no carrier
This is not your problem because you should be able to ping your interface
from it's host anyway. I think you know that this (no carrier) happens
because either you have no cable on your card or the kernel can't configure
it well(it should not print - Ethernet autoselect (none) - if you have a
cable on it and the other card or hub/switch works fine)
Anyway you should be able to ping your interface anyway!!
> inet6 fe80::2e0:7dff:fe81:4791%rl1 prefixlen 64 scopeid 0x2
> inet 192.168.0.20 netmask 0xffffff00 broadcast 192.168.0.255
> pflog0: flags=141<UP,RUNNING,PROMISC> mtu 33224
> sl0: flags=c010<POINTOPOINT,LINK2,MULTICAST> mtu 296
> sl1: flags=c010<POINTOPOINT,LINK2,MULTICAST> mtu 296
> ppp0: flags=8010<POINTOPOINT,MULTICAST> mtu 1500
> ppp1: flags=8010<POINTOPOINT,MULTICAST> mtu 1500
> tun0: flags=10<POINTOPOINT> mtu 3000
> tun1: flags=10<POINTOPOINT> mtu 3000
> enc0: flags=0<> mtu 1536
> bridge0: flags=0<> mtu 1500
> bridge1: flags=0<> mtu 1500
> vlan0: flags=0<> mtu 1500
> vlan1: flags=0<> mtu 1500
> gre0: flags=8010<POINTOPOINT,MULTICAST> mtu 1450
> gif0: flags=8010<POINTOPOINT,MULTICAST> mtu 1280
> gif1: flags=8010<POINTOPOINT,MULTICAST> mtu 1280
> gif2: flags=8010<POINTOPOINT,MULTICAST> mtu 1280
> gif3: flags=8010<POINTOPOINT,MULTICAST> mtu 1280
>
>
> urecaBoX# route show
> Routing tables
>
> Internet:
> Destination Gateway Flags
> default 200.198.aaa.ade UG
> 127.0.0.0 localhost.terra.co UG
> localhost.terra. localhost.terra.co UH
> 192.168.0.0 link#1 U
> 200.198.aaa.add link#1 U
> 200.198.aaa.ade 0:d0:9:fc:46:c4 UH
> EurecaBoX localhost.terra.co UGH
> BASE-ADDRESS.MCA localhost.terra.co U
>
> Internet6:
> Destination Gateway Flags
> default ::1 UG
> default ::1 UG
> ::1 ::1 UH
> ::127.0.0.0 ::1 UG
> ::224.0.0.0 ::1 UG
> ::255.0.0.0 ::1 UG
> ::ffff:0.0.0.0 ::1 UG
> 2002:: ::1 UG
> 2002:7f00:: ::1 UG
> 2002:e000:: ::1 UG
> 2002:ff00:: ::1 UG
> fe80:: ::1 UG
> fe80::%rl0 link#1 U
> fe80::%rl1 link#2 U
> fe80::%lo0 fe80::1%lo0 U
> fec0:: ::1 UG
> ff01:: ::1 U
> ff02::%rl0 link#1 U
> ff02::%rl1 link#2 U
> ff02::%lo0 fe80::1%lo0 U
> EurecaBoX#
>
> If i try to ping rl1 i got error:
> EurecaBoX# ping 192.168.0.20
> PING 192.168.0.20 (192.168.0.20): 56 data bytes
> ping: sendto: Host is down
> ping: wrote 192.168.0.20 64 chars, ret=-1
>
> I have to set a special route to link#2? How i set it?
>
I think you should have a route like below:
Internet:
Destination Gateway Flags
192.168.0.20 0:f5:fe:05:d9:02 UH
192.168.0.0 link#2 U
Your prob must on hardware , but maybe if you run :
# arp -d -a (delete all arp entries)
and then run the netstart script:
#. /etc/netstart
it will work ????????
> Thanks
>
>
>
>
> Ricardo Augusto de Souza
> Network Admin.
> Information Management
> ricardo
infom.com.br
> (55) 11-3253-6303
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]