Hi all
New here. NIce to be here.
I have a very similar problem, in fact. i was about to post and ask :-)
I have 2 SuSE 9.1 machines in a home network. The second being a laptop is configured to recieve an IP via dhcp.
This works fine, the problem is that i still can't get to the WWW via the gateway which is also the dhcp server. Attached is my dhcp.conf as well as the output of route. I manage to ping, shh etc. to the gateway, but cannot see the
WWW.
10.0.0.1 is the gateway
How important is the domainname in the scenario as they sometimes differ?
This is not a dns issue as i have it configured via mu dhcp server and i can't reach www using IP either :-(
I am 99% sure the problem is server side as when booting from my "Other O$" partition, just to test of course, i don;t get the WWW connection either.
Thanks
LinuxPimp
route on client:
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
10.0.0.0 * 255.255.255.0 U 0 0 0 eth0
link-local * 255.255.0.0 U 0 0 0 eth0
loopback * 255.0.0.0 U 0 0 0 lo
default 10.0.0.1 0.0.0.0 UG 0 0 0 eth0
dhcp.conf:
# dhcpd.conf
#
# Sample configuration file for ISC dhcpd
#
# option definitions common to all supported networks...
option domain-name "laptopdomain.com";
option domain-name-servers 192.115.106.31, 192.115.106.35;
option routers 10.0.0.1;
option subnet-mask 255.255.255.0;
default-lease-time 600;
max-lease-time 7200;
# if you do not use dynamical DNS updates:
#
# this statement is needed by dhcpd-3 needs at least this statement.
# you have to delete it for dhcpd-2, because it does not know it.
#
# if you want to use dynamical DNS updates, you should first read
# read /usr/share/doc/packages/dhcp-server/DDNS-howto.txt
ddns-update-style none;
ddns-updates off;
# If this DHCP server is the official DHCP server for the local
# network, the authoritative directive should be uncommented.
#authoritative;
# Use this to send dhcp log messages to a different log file (you also
# have to hack syslog.conf to complete the redirection).
log-facility local7;
next-server 10.0.0.1;
# A slightly different configuration for an internal subnet.
subnet 10.0.0.0 netmask 255.255.255.0 {
option domain-name-servers 192.115.106.31, 192.115.106.35;
option domain-name "laptopdomain.com";
option routers 10.0.0.1;
option broadcast-address 10.0.0.255;
range 10.0.0.2 10.0.0.5;
default-lease-time 600;
max-lease-time 7200;
}
# Hosts which require special configuration options can be listed in
# host statements. If no address is specified, the address will be
# allocated dynamically (if possible), but the host-specific information
# will still come from the host declaration.
host mylaptop {
option subnet-mask 255.255.255.0;
hardware ethernet $MyMAC;
server-name "server.homedomain";
}