Networking novice needs help
Andrew
andrew.hodgson at blueyonder.co.uk
Mon Dec 2 19:21:29 GMT 2002
> Please post me the output of the following commands executed on squid
> ifconfig -a
de0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
inet 192.168.1.2 netmask 0xfffffff0 broadcast 192.168.1.15
inet6 fe80::200:e8ff:fe21:b423%de0 prefixlen 64 scopeid 0x1
ether 00:00:e8:21:b4:23
media: Ethernet 100baseTX
status: active
lp0: flags=8810<POINTOPOINT,SIMPLEX,MULTICAST> mtu 1500
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
inet6 ::1 prefixlen 128
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3
inet 127.0.0.1 netmask 0xff000000
ppp0: flags=8010<POINTOPOINT,MULTICAST> mtu 1500
sl0: flags=c010<POINTOPOINT,LINK2,MULTICAST> mtu 552
faith0: flags=8002<BROADCAST,MULTICAST> mtu 1500
> netstat -r(well, -rn)
Routing tables
Internet:
Destination Gateway Flags Refs Use Netif
Expire
default 192.168.1.1 UGSc 1 0 de0
127.0.0.1 127.0.0.1 UH 0 0 lo0
192.168.1/28 link#1 UC 2 0 de0
192.168.1.1 link#1 UHRLW 2 3 de0
192.168.1.2 00:00:e8:21:b4:23 UHLW 0 8 lo0
Internet6:
Destination Gateway
Flags Netif Expire
::1 ::1
UH lo0
fe80::%de0/64 link#1
UC de0
fe80::200:e8ff:fe21:b423%de0 00:00:e8:21:b4:23
UHL lo0
fe80::%lo0/64 fe80::1%lo0
Uc lo0
fe80::1%lo0 link#3
UHL lo0
ff01::/32 ::1
U lo0
ff02::%de0/32 link#1
UC de0
ff02::%lo0/32 ::1
UC lo0
(Bearing in mind that my workstation on 192.168.1.5 isn't showing up
here - or should it?)
> arp -a
firewall (192.168.1.1) at (incomplete) on de0 (ethernet)
> ping "squids IP address"
# ping squid
PING squid (192.168.1.2): 56 data bytes
64 bytes from 192.168.1.2: icmp_seq=0 ttl=64 time=0.914ms
64 bytes from 192.168.1.2: icmp_seq=1 ttl=64 time=0.591ms
64 bytes from 192.168.1.2: icmp_seq=2 ttl=64 time=0.604ms
^C
---squid ping statistics---
3 packets transmitted, 3 packets received, 0% packet loss
round trip min/avg/stddev = /0.591/0.677/0.910 ms
Hope this helps,
Andrew
More information about the Ukfreebsd
mailing list