[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

ifconfig and alias problems?

I've been having a heck of a time trying to troubleshoot this if
anyone has any ideas I'd greatly appreciate it.

I have a server running OpenBSD 2.8 on a DMZ segment (10.2.x.x/16)
that's hosting DNS via djbdns. TinyDNS is bound to the primary IP, and DNSCache is aliased to All computer on
the internal segment can access DNS with no problems. All computers on
the same subnet can not. Computers on the DMZ segment can use all
services as long as it's by IP rather than name which make me believe
it's not a cable or switch issue. Computers on the DMZ segment are a
mixed bunch of NT and OpenBSD machines.

If I run tcpdump udp on the DNS server I can see the DNS request
coming in but I never see the response. Logfiles for DNScache show the
lookup but I never see the response. Doing an arp -a shows the arp
entries for the computers I'm testing DNS from. One thing I noticed is
when I reboot it sets the aliased IP address's gateway to,
is this normal?

Relevant info is included below. If I left out anything that will help
troubleshoot this, please let me know and I'll post it.

Jason Stout

komodo# ifconfig -A
lo0: flags=8009<UP,LOOPBACK,MULTICAST> mtu 32972
inet netmask 0xff000000
lo1: flags=8008<LOOPBACK,MULTICAST> mtu 32972
media: Ethernet autoselect (100baseTX full-duplex)
status: active
inet netmask 0xffff0000 broadcast
inet netmask 0xffffffff broadcast
tun0: flags=10<POINTOPOINT> mtu 3000
tun1: flags=10<POINTOPOINT> mtu 3000
enc0: flags=0<> mtu 1536
enc1: flags=0<> mtu 1536
enc2: flags=0<> mtu 1536
enc3: flags=0<> mtu 1536

komodo# arp -a
? ( at 0:c0:95:e4:8e:70 #Gateway for this subnet
? ( at 0:d0:b7:90:bb:f3 #Machine I was testing DNS from.

komodo# cat /etc/hostname.xl0
inet NONE media autoselect
inet alias NONE

komodo# tcpdump udp
tcpdump: listening on xl0
10:51:06.693000 >  64329+ A?
www.OpenBSD.org. (33)
10:51:08.524678 >  11775+ PTR? (44)
10:51:08.525261 >  11775 NXDomain*
0/0/0 (44)
10:51:11.702940 >  64329+ A?
www.OpenBSD.org. (33)
10:51:14.008279 >  11440+ PTR? (44)
10:51:14.008772 >  11440 NXDomain*
0/0/0 (44)
321 packets received by filter
0 packets dropped by kernel

FREE! The World's Best Email Address @email.com
Reserve your name now at http://www.email.com

Visit your host, monkey.org