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

Re: Host's IP address can't be found



On Sat, 2007-04-28 at 15:37 -0400, Douglas Allan Tutty wrote:
> Not trimming on purpose, see below:
> 
> On Sat, Apr 28, 2007 at 02:35:03PM -0400, Gloria Brown wrote:
> > I installed Etch on a stand-alone workstation which is the sole host on 
> > a local network and has Internet access through a hardware firewall. 
> > 
> > I have a MB ethernet chip, but am using a NIC card. Before the card was
> > eth0, but with installation of Etch on a new disk, it apparently changed
> > to eth1.
> > 
> > I can't mail out with rmail or Wanderlust because the host's IP address
> > can't be found:
> > 
> > In exim4/mainlog when I use rmail:
> > 
> >   2007-04-28 06:55:20 1HhkaF-0000qy-WE <= brownh@teufel.hartford-hwp.com
> >         U=brownh P=local S=448
> >   2007-04-28 06:55:20 1HhkaF-0000qy-WE no IP address found for host
> >         brownh@hartford-hwp.com
> >   2007-04-28 06:55:20 1HhkaF-0000qy-WE == brownh@teufel.hartford-hwp.com
> >         R=smarthost defer (-1): lookup of host "brownh@hartford-hwp.com"
> >         failed in smarthost router
> > 
> > /etc/hosts:
> > 
> > 127.0.0.1       localhost
> > 192.168.1.1     teufel.localdomain teufel
> > 
> > ::1     ip6-localhost ip6-loopback
> > fe00::0 ip6-localnet
> > ff00::0 ip6-mcastprefix
> > ff02::1 ip6-allnodes
> > ff02::2 ip6-allrouters
> > ff02::3 ip6-allhosts
> > 
> > $ host hartford-hwp.com
> > hartford-hwp.com has address 64.227.154.66
> > hartford-hwp.com mail is handled by 5 inbound.registeredsite.com.
> > 
> > $ netstat -rn teufel
> > Kernel IP routing table
> > Destination    Gateway        Genmask        Flags  MSS Window  irtt
> > Iface
> > 192.168.111.0  0.0.0.0        255.255.255.0  U       0 0          0 eth1
> > 0.0.0.0        192.168.111.1  0.0.0.0        UG      0 0          0 eth1
> > 
> > In /etc/network/interfaces:
> > 
> > auto lo
> > iface lo inet loopback
> > 
> > auto eth1
> > allow-hotplug eth1
> > iface eth1 inet dhcp
> >         address 192.168.1.1
> >         netmask 255.255.255.0
> >         network 192.168.1.0
> >         broadcast 192.168.1.255
> > 
> > In /etc/nsswitch.conf, I have:
> > 
> >   ...
> >   hosts:          files dns
> >   networks:       files
> 
> What does ifconfig show?
> Tack the output here and don't trim so we see everything on one page.
> 
> Doug.
> 

# ifconfig 
eth1      Link encap:Ethernet  HWaddr 00:A0:C9:B4:D5:A8  
inet addr:192.168.111.2       Bcast:192.168.111.255
Mask:255.255.255.0
inet6 addr: fe80::2a0:c9ff:feb4:d5a8/64 Scope:Link
UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
RX packets:13510 errors:0 dropped:0 overruns:0 frame:0
TX packets:8205 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000 
RX bytes:18629272 (17.7 MiB)  TX bytes:601099 (587.0 KiB)

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:1766 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1766 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:622964 (608.3 KiB)  TX bytes:622964 (608.3 KiB)

Thanks for the help, 

Haines



Reply to: