LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 01-18-2008, 07:15 AM   #16
Peter_APIIT
Member
 
Registered: Dec 2006
Posts: 606

Original Poster
Rep: Reputation: 31

My latest configuration is disable the LAN which is class B address(LAn interface) and allow static ip to wireless but still cannot get any ip. Any Idea ?
 
Old 01-20-2008, 06:53 AM   #17
Peter_APIIT
Member
 
Registered: Dec 2006
Posts: 606

Original Poster
Rep: Reputation: 31
I hope someone can help me out.
 
Old 01-20-2008, 07:10 AM   #18
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
i'd love to, but you've still been unable to state whether you are looking for DHCP help or routing help. the two really have *nothing* in common, and as I think we're looking at a routing issue suddenly you're posting DHCP configuration again. DHCP provides an ip address, a mask and a gateway. now *YOU* need to know if that information is, or is not, recieved on the client. if you run an ifconfig and a route you can see if the data is there. if it is, then for heaven's sake move on from DHCP...
 
Old 01-21-2008, 06:44 PM   #19
Peter_APIIT
Member
 
Registered: Dec 2006
Posts: 606

Original Poster
Rep: Reputation: 31
I have a stupid question where if i using private address,the my problem can be solve.

Private addreses :

176.16.0.0/12
192.168.0.0/16.

Please correct me if i wrong.

A billion thanks for your help.
 
Old 01-22-2008, 03:21 AM   #20
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
no it's 172.16.0.0/12, but if your router is doing NAT to reach the internet, which it must be anyway, then the internal dress is going to be largely irrelevant. you could use googles ip address ranges if you felt like it, as long as the IP leaving your network is globally addressable back to your router.
 
Old 01-22-2008, 03:28 AM   #21
Peter_APIIT
Member
 
Registered: Dec 2006
Posts: 606

Original Poster
Rep: Reputation: 31
I going to try this and come back here with a specific question.

Thanks for your help.
 
Old 01-22-2008, 09:55 PM   #22
Peter_APIIT
Member
 
Registered: Dec 2006
Posts: 606

Original Poster
Rep: Reputation: 31
Angry

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.
 
Old 01-23-2008, 08:17 AM   #23
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
if you can use msn then the internet itself should be fine, and maybe you're either trying to use a non-existant / unreachable proxy on your browser, or being block by a firewall maybe? open a terminal and run "curl google.com" and see what the response it. if you get an html document back, then that's the web connectivity working, so it'll be browser specific. if not, post the error output.
 
Old 01-24-2008, 04:22 AM   #24
Peter_APIIT
Member
 
Registered: Dec 2006
Posts: 606

Original Poster
Rep: Reputation: 31
My latest result :
PPPOE on Modem :
1. Wired Connection
Can MSN cannot browse Can ping www.google.com.my
I try to enter using ubuntu livecd to investigate this incident but curl command not found.
I alos try to ping www.google.com.my It get reply

2. Wireless connection
Works perfectly. Can MSN and browse

PPPOE on OpenBSD
1. Wired Connection
Can get ip Ping to openbsd ok. Openbsd ping to desktop not ok
2. Wireless Connection
Ping to openbsd ok. OpenBSD ping to laptop not ok.
Gateway : 192.168.1.1 Laptop -> Gateway ok Gateway-> Laptop not ok.
I hope i can PPPOE on openBSD because i have fully control over openbsd.
I have checked the route is availible but still unable to route from openbd to client.
When i route add 192.168.2.12 192.168.1.1 ; Return file exists.

Any idea how to solve this ?

You are the only people who willing to help me out.
A billion thanks for your help.
A billion thanks for your help.
I willing to help you back.

Last edited by Peter_APIIT; 01-24-2008 at 04:23 AM.
 
Old 01-26-2008, 05:37 AM   #25
Peter_APIIT
Member
 
Registered: Dec 2006
Posts: 606

Original Poster
Rep: Reputation: 31
This is a pretty strange and challenge problem i ever encounter before. I hope someone can really help me out.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Red Hat 9 Multiple gateway routing configuration problem neo_kryptik Linux - Networking 4 08-29-2007 10:21 AM
vpn routing without the gateway karen.pertierra Linux - Networking 1 03-18-2007 06:39 AM
multi gateway routing problem hi100nu Linux - Networking 2 06-17-2006 01:24 PM
Linux Routing and Gateway GavSim Linux - Networking 1 02-08-2006 02:08 PM
DHCP and gateway routing problems (simple noob problem) michaelsanford Linux - Networking 4 04-13-2005 02:17 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 03:17 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration