Networking Forums

Networking Forums > Computer Networking > Linux Networking > Router--IPCOP--Switch--LAN

Reply
Thread Tools Display Modes

Router--IPCOP--Switch--LAN

 
 
x25
Guest
Posts: n/a

 
      01-24-2007, 09:58 AM
Hi,

I have a problem.

My network is this: Router--eth1(IPCOP)eth0--Switch--LAN

The IPCOP have two interfaces eth1 to router and eth0 to switch.
>From the LAN dont arrive to router and havent exit to internet.


>From the Lan arrive to IPCOP and eth0 but dont arrive to eth1.


>From the IPCOP arrive to all sites, internet, LAN.


I put here some data:

1) Router Comtrend 536:

* Formed like multiposition
* IP to acces to router: 192.168.1.1 y la 192.168.2.1

2) Ipcop (Green+Red):

* Interface RED:

eth1: 192.168.2.5
GW: 192.168.2.1

* Interface GREEN:

eth0: 192.168.1.5

The problem this in the router?

Thanks.

 
Reply With Quote
 
 
 
 
Pascal Hambourg
Guest
Posts: n/a

 
      01-24-2007, 11:06 AM
Hello,

x25 a écrit :
>
> My network is this: Router--eth1(IPCOP)eth0--Switch--LAN
>
> The IPCOP have two interfaces eth1 to router and eth0 to switch.
>>From the LAN dont arrive to router and havent exit to internet.

>
>>From the Lan arrive to IPCOP and eth0 but dont arrive to eth1.


Are you sure of this (did you check with tcpdump, (t)ethereal/wireshark
or another packet sniffer) ? Couldn't it be that replies from the router
or the internet don't arrive to the IPCOP ?

>>From the IPCOP arrive to all sites, internet, LAN.

>
> 1) Router Comtrend 536:
>
> * Formed like multiposition
> * IP to acces to router: 192.168.1.1 y la 192.168.2.1


Why two addresses ? And specifically, why 192.168.1.1, which is supposed
to belong to the LAN ?

> 2) Ipcop (Green+Red):
>
> * Interface RED:
> eth1: 192.168.2.5
> GW: 192.168.2.1
>
> * Interface GREEN:
> eth0: 192.168.1.5


Does the IPCOP do masquerading or source NAT for the LAN on the RED
interface ?
If no, requests from the LAN will arrive at the router with their
original 192.168.1.x source address but the router will be unable to
send the replies back because it has not the correct route to this
destination.

To fix this :
- enable masquerading or source NAT on the IPCOP on the RED interface
or
- add a static route to the LAN subnet (192.168.1.x) via gateway
192.168.2.5 (the IPCOP RED interface address)
and in any case :
- remove the address 192.168.1.1 on the router. Such addresses should
only be used on the GREEN side.
 
Reply With Quote
Reply

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Switch or Router/Switch? Jon Danniken Network Routers 12 08-04-2011 11:01 AM
IPCOP OPENVPN side by side with router VPN SupportAV Linux Networking 3 12-13-2006 10:03 AM
router contains a built-in switch versus router without a built-in switch jrefactors@hotmail.com Network Routers 37 09-19-2005 08:55 PM
router contains a built-in switch versus router without a built-in switch jrefactors@hotmail.com Windows Networking 39 09-19-2005 08:55 PM
Ipcop Sauro Linux Networking 1 10-08-2003 03:07 PM



1 2 3 4 5 6 7 8 9 10 11