I have try this configuration as below.
Quote:
/etc/hostname.rl1 : inet 172.16.10.1 255.240.0.0(/12)
/etc/hostname.ral0 : inet 192.168.1.1 255.255.0.0(/16)
/etc/dhcpd.conf :
authoritative;
option domain-name 202.188.0.133;
use-host-decl-names on;
max-lease-time 86400;
#Wired
subnet 172.16.0.0 netmask 255.240.0.0
{
option routers 172.16.10.1;
}
host peter
{
hardware ethernet H.A;
fixed-address 172.16.10.10;
};
#Wireless
subnet 192.168.0.0 netmask 255.255.0.0
{
option routers 192.168.1.1;
}
host pc
{
hardware ethernet H.A;
fixed-addresses 192.168.1.10;
}
I used openbsd pf firewall to do NAT as below :
priv_add = 192.168.0.0./16; // Wireless
priv_adds = 172.16.0.0/12; // Wired
nat on {$ext_if} inet from {$priv_add} to any -> {$ext_if}
nat on {$ext_if} inet from $priv_adds} to any -> {$ext_if}
/etc/resolv.conf :
nameserver 127.0.0.1
nameserver 192.168.1.1
lookup file bind
nameserver 127.0.0.1
/etc/dhcpd.interface :
rl1
ral0
Routing Table :
Destination Gateway Flags references Use Mtu Interface
default 192.168.1.1 UGS 11 6598 lo0
127/8 127.0.0.1 UGRS 0 0 33224 lo0
127.0.0.1 127.0.0.1 UH 3 365 33224 lo0
172.16/.12 link#2 UC 1 0 - rl1
172.16.10.10 H.A UHLc 1 241 - rl1
192.168/16 link#3 UC 1 0 - rl0
192.168.1/24 link#1 UC 1 0 - rl0
192.168.1.1 H.A UHLc 0 0 - lo0
224/4 127.0.0.1 URS 0 - lo0
|
Successful :
Ping from desktop to openbsd gateway ok
Ping from gateway to desktop ok
Can MSN using Gaim and Xchat;
Problem :
Cannot browse;
Description :
Modem->(rl0) OpenBSD(rl1 and ral0) ->desktop || laptop
PPPOE on modem can connect to MSN but PPPOE on openbsd cannot MSN.
my modem also doing NAT. No NAT on modem cannot MSN.
What is the problem i facing right now ?
I thought the problem related with dns server, then i off it but still cannot browse.
I want full control of my PPPOE.
A billion thanks for your help.
A billion thanks for your help.
A billion thanks for your help.
A billion thanks for your help.
A billion thanks for your help.
England has become no one in total figure produce which over USA.
Congratulations.