CODE
ddns-update-style none;
subnet 192.168.0.0 netmask 255.255.255.0 {
# default gateway
option routers 192.168.0.1;
option subnet-mask 255.255.255.0;
option ip-forwarding on;
option domain-name "omarserenity.no-ip.com";
option domain-name-servers 204.127.199.8, 63.240.76.198;
range dynamic-bootp 192.168.0.16 192.168.0.253;
default-lease-time 43200;
max-lease-time 21600;
}
subnet 192.168.0.0 netmask 255.255.255.0 {
# default gateway
option routers 192.168.0.1;
option subnet-mask 255.255.255.0;
option ip-forwarding on;
option domain-name "omarserenity.no-ip.com";
option domain-name-servers 204.127.199.8, 63.240.76.198;
range dynamic-bootp 192.168.0.16 192.168.0.253;
default-lease-time 43200;
max-lease-time 21600;
}
The option ip-forwarding was not in there by default after running DrakGW and I've tried it with and without. The option domain-name-servers, I've tried with only one ISP DNS server, with both (as you see here) and with just 192.168.0.1. My /etc/resolv.conf is fine. With the option domain-name-servers as 192.168.0.1, the name doesn't resolve in Windows...I just get "Finding site yahoo.com..." in the status bar or whatever. With the option domain-name-servers as you see them here, it resolves and I see "Connecting to site 216.109.118.65..." in the status bar, but it takes a few minutes and then goes to a "Page cannot be displayed" error (Cannot find server or DNS error). I have no idea how to troubleshoot this.
Here is the output of ifconfig:
CODE
eth0 Link encap:Ethernet HWaddr 00:0C:6E:84:CA:EF
inet addr:192.168.0.1 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1957 errors:0 dropped:0 overruns:0 frame:0
TX packets:1657 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:201916 (197.1 Kb) TX bytes:223201 (217.9 Kb)
Interrupt:4
eth1 Link encap:Ethernet HWaddr 00:90:64:B4:AC:DB
inet addr:<<ip removed for privacy>> Bcast:255.255.255.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:685721 errors:0 dropped:0 overruns:0 frame:0
TX packets:6635 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:42317680 (40.3 Mb) TX bytes:434777 (424.5 Kb)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:4168 errors:0 dropped:0 overruns:0 frame:0
TX packets:4168 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:242524 (236.8 Kb) TX bytes:242524 (236.8 Kb)
inet addr:192.168.0.1 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1957 errors:0 dropped:0 overruns:0 frame:0
TX packets:1657 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:201916 (197.1 Kb) TX bytes:223201 (217.9 Kb)
Interrupt:4
eth1 Link encap:Ethernet HWaddr 00:90:64:B4:AC:DB
inet addr:<<ip removed for privacy>> Bcast:255.255.255.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:685721 errors:0 dropped:0 overruns:0 frame:0
TX packets:6635 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:42317680 (40.3 Mb) TX bytes:434777 (424.5 Kb)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:4168 errors:0 dropped:0 overruns:0 frame:0
TX packets:4168 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:242524 (236.8 Kb) TX bytes:242524 (236.8 Kb)
and route -n:
CODE
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
xxx.xxx.xxx.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1
192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
0.0.0.0 xxx.xxx.xxx.1 0.0.0.0 UG 0 0 0 eth1
Destination Gateway Genmask Flags Metric Ref Use Iface
xxx.xxx.xxx.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1
192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
0.0.0.0 xxx.xxx.xxx.1 0.0.0.0 UG 0 0 0 eth1
Of course in route -n, the xxx.xxx.xxx.0 and xxx.xxx.xxx.1 are actual ips
Any thoughts? Does it have something to do with the Genmask of both adapters being 255.255.255.0?