Register a domain and help support LQ
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 11-18-2004, 01:56 AM   #1
LQ Newbie
Registered: Nov 2004
Posts: 1

Rep: Reputation: 0
WAN : unable to ping to WAN

Hello all,

I am working on a AP/Router with linux version 2.4.19.
Before goes into my problem detail, here are some setting on the router.

For the kernel :

Network Options
Packet Socket [yes]
Packet Socket: mmapped IO [yes]
Network Packet Filtering (replaces ipchains) [yes]
-> Network packet filtering debuggng [yes]
Socket Filtering [yes]
Unix Domain Sockets [yes]
TCP/IP Networking [yes]
-> IP: multicasting [yes]
----> IP: multicasting routing [yes]
-------->IP: PIM-SM version 1 support [yes]
-------->IP: PIM-SM version 2 support [yes]
-> IP: Advance Router [yes]
-> IP: Kernel level autoconfiguration [yes]
----> IP: DHCP support [yes]
----> IP: BOOTP support [yes]
----> IP: RARP support [yes]
-> IP: ARP daemon support [yes]
-> 802.1d Ethernet Bridging [yes]
IP: Netfilter Configuration [yes]
-> Connection tracking [yes]
----> FTP protocol support [yes]
----> IRC protocol support [yes]
-> IP table support [yes]
----> limit match support [yes]
----> netfilter MARK match support [yes]
----> Connection state match support [yes]
-> Packet filtering [yes]
----> REJECT target support [yes]
-> Full NAT [yes]
----> MASQUERADE target support [yes]
-> Packet mangling [yes]
----> MARK target support [yes]
-> LOG target support [yes]
ARP tables support [yes]
WAN router [yes]

For the network setup :
[1] Bridge both LAN and WLAN into BR0
[2] set the BR0 IP ( and up.
[3] set the WAN IP ( and up.
[5] echo 1 > /proc/sys/net/ipv4/ip_forward

[6] Set route table.
Destination Gateway Mask Flags If U ETH1 UG ETH1 U BR0 UG BR0

For the very first case:
1 router [R1], 2 PC [PC1 & PC2]

[PC1] IP: GW:
[PC1] Connected to [R1-WAN]

[PC2] IP: GW:
[PC2] Connected to [R1-LAN/BR0]

Ping [PC2] from [PC1] - Pass
Ping [PC1] from [PC2] - Pass
Case 1 - Pass

2 routers[R1 & R2], 1 PC [PC1]

[R1-LAN] IP:
[R1-LAN] Connected to [R2-WAN]

[PC1] IP: GW:
[PC1] Connected to [R2-LAN/BR0]

Ping [R1-LAN] from [PC1] - Fail
Ping [R2-WAN] from [PC1] - Pass
Case 2 - Fail

Same setting as CASE 2.
The route table is updated with additional routing...

Destination Gateway Mask Flags If U ETH1 UG ETH1 U BR0 UG BR0 UG ETH1

However, same result with CASE 2;
Ping [R1-LAN] from [PC1] - Fail
Ping [R2-WAN] from [PC1] - Pass
Case 3 - Fail

(1) Are there any setting wrong?
(2) Do we miss out any things?

Thanks in advance.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
vsftpd over WAN m2azer Linux - Networking 2 11-01-2005 07:18 PM
The WAN and X WeNdeL Linux - Security 5 08-08-2005 02:46 PM
Cant get WAN side ip...... hkl8324 Linux - Wireless Networking 1 06-08-2005 06:03 AM
FreeS/Wan Vs. OpenS/Wan Vs. StrongS/Wan bkankur Linux - Security 1 03-01-2005 09:27 AM
HP JetDirect over WAN slapshotct Linux - Security 2 03-25-2004 07:02 AM

All times are GMT -5. The time now is 07:46 AM.

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