Modify

Opened 22 months ago

Last modified 22 months ago

#22204 new defect

static route table not broadcasted, or not work.

Reported by: xinglp@… Owned by: developers
Priority: normal Milestone:
Component: packages Version: Trunk
Keywords: Cc:

Description

My opewrt route' ip is 192.168.1.1 with a static route item as below

# route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
...
192.168.3.0     192.168.1.2    255.255.255.0   UG    0      0        0 br-lan
...

My PC (192.168.1.2) has two ethernet adapters.

My network is like below.
Openwrt(192.168.1.1) ---- (192.168.1.2) PC1 (192.168.3.254) ---- (192.168.3.1)PC2
PC2 and Openwrt can visite each other, and PC2 can visite the internet.

But another PC3(192.168.1.3) connected to the Openwrt router can not visit PC2, and vice vice versa.
I have to manually add a static route to PC3 (by "route -v add -net 192.168.3.0/24 gw 192.168.1.2") to make it work.

Is it normal? I'm using r49161 ar71xx. The original tplink firmware don't have this issue.

Attachments (0)

Change History (4)

comment:1 follow-up: Changed 22 months ago by geadas

hello.
yes, it is.
just add that route to your router or leave it the way you did if you have no more computers pc2 should talk to in 192.168.1.0/24 network.
see you.

comment:2 in reply to: ↑ 1 Changed 22 months ago by xinglp@…

Replying to geadas:

hello.
yes, it is.
just add that route to your router or leave it the way you did if you have no more computers pc2 should talk to in 192.168.1.0/24 network.
see you.

But I have many more computers in 192.168.1.0/24 network. What is the right way to do this?

comment:3 follow-up: Changed 22 months ago by geadas

just add that route to your router

comment:4 in reply to: ↑ 3 Changed 22 months ago by anonymous

Replying to geadas:

just add that route to your router.

I added, but not work.

Add Comment

Modify Ticket

Action
as new .
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.