View Single Post
  #9   (View Single Post)  
Old 16th May 2008
JMJ_coder JMJ_coder is offline
VPN Cryptographer
 
Join Date: May 2008
Posts: 464
Default

Hello,

Quote:
Originally Posted by anomie View Post
See this netbsd-users thread for notes on setting up an alias.
Thank you. Well, we're getting somewhere. Adding the alias (I went the route of ifconfig ... alias) it resolves the ARP and DNS error. But, even though I put it in my rc.conf file, it will not assign the alias on a hard boot. So on a hard boot, I still have no DNS and I get that ARP error. If I enter the alias via the command line manually, it is immediately resolved. It will assign the alias on a soft boot.

Also, I am still getting the dhclient and last message errors. I could not look at them by using the tips given earlier in this thread, but it would be nice to know why I am getting these errors.




Quote:
Originally Posted by anomie View Post
But now I am again thinking we are not on the same page about how your network is set up. Could you just post the results of:

# ifconfig -a

# route show | grep default

??
I think the modem acts almost as a network bridge. The results you are looking for are:

Note: the ifconfig was run from Slackware and not NetBSD (I don't have my 4.0 setup completely setup yet). The only differences are device names and NetBSD has an additional device fwiw0 (I think that is the correct name) set to address 0.0.0.0
Code:
eth0      Link encap:Ethernet  HWaddr 00:1A:92:51:E4:0D  
          inet addr:76.212.227.73  Bcast:76.212.227.255  Mask:255.255.255.0
          inet6 addr: fe80::21a:92ff:fe51:e40d/64 Scope:Link
          UP BROADCAST NOTRAILERS RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:1494 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1727 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:1096456 (1.0 MiB)  TX bytes:326868 (319.2 KiB)
          Interrupt:17 Base address:0x2000 

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:8 errors:0 dropped:0 overruns:0 frame:0
          TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:400 (400.0 b)  TX bytes:400 (400.0 b)
Code:
default   76.212.227.74   UG

Note that the actual IP address of both my IP and the default gateway change dynamically upon each DHCP request.
__________________
And the WORD was made flesh, and dwelt among us. (John 1:14)
Reply With Quote