Re: IPF, NAT or NIC

2009-09-19 Thread Freeco
://www.nabble.com/IPF%2C-NAT-or-NIC-tp25491958p25520353.html Sent from the freebsd-questions mailing list archive at Nabble.com. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send

Re: IPF, NAT or NIC

2009-09-19 Thread Freeco
Freeco wrote: Maybe i made some cabling loop, becauce my internet stoped to work. In the beginning everything was ok, but after some time when all 3 pc's who was connected to switch it stopped to work. Why? -- View this message in context: http://www.nabble.com/IPF%2C-NAT-or-NIC

Re: IPF, NAT or NIC

2009-09-18 Thread Freeco
How to change the interfaces to not to be on same physical subnet? -- View this message in context: http://www.nabble.com/IPF%2C-NAT-or-NIC-tp25491958p25504647.html Sent from the freebsd-questions mailing list archive at Nabble.com. ___ freebsd

Re: IPF, NAT or NIC

2009-09-18 Thread Olivier Nicole
How to change the interfaces to not to be on same physical subnet? Hummm, subnet is virtual, it is not physical. To have interface on different phisical network, plug your interfaces to different switchwes that are not interconnected one to the other. To have a different subnet used on

Re: IPF, NAT or NIC

2009-09-18 Thread Freeco
What does it look like? ISP---Hub---My Gateway---Switch--Pc Or ISPMy Gateway---Switch-Hub-Pc -- View this message in context: http://www.nabble.com/IPF%2C-NAT-or-NIC-tp25491958p25507235.html Sent from the freebsd-questions mailing list archive at Nabble.com

Re: IPF, NAT or NIC

2009-09-18 Thread Freeco
In the beginning when gateway starts the web page opens, but after that no one web doesn't open. The same is in first 5min ping reach my ISP gateway, but then it's gone. Same from my gateway with ping. -- View this message in context: http://www.nabble.com/IPF%2C-NAT-or-NIC-tp25491958p25507722

Re: IPF, NAT or NIC

2009-09-18 Thread Steve Bertrand
Freeco wrote: What does it look like? ISP---Hub---My Gateway---Switch--Pc Or ISPMy Gateway---Switch-Hub-Pc ...are you sure that by accident that you don't have the following *physical* setup? --- | Gateway | --- |

Re: IPF, NAT or NIC

2009-09-18 Thread Steve Bertrand
Steve Bertrand wrote: [ snip ] Freeco, let us know how things are connected physically. Your best bet would be: |-pc | ISP---Gateway-Switch-pc |

Re: IPF, NAT or NIC

2009-09-18 Thread Freeco
: 192.168.1.2 -- View this message in context: http://www.nabble.com/IPF%2C-NAT-or-NIC-tp25491958p25508442.html Sent from the freebsd-questions mailing list archive at Nabble.com. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman

Re: IPF, NAT or NIC

2009-09-18 Thread Steve Bertrand
Freeco wrote: So it means that i will need 2 more NIC's in my gateway? |-pc | ISP---Gateway-Switch-pc | |_pc Why all pc's can't be in

Re: IPF, NAT or NIC

2009-09-18 Thread Freeco
-- View this message in context: http://www.nabble.com/IPF%2C-NAT-or-NIC-tp25491958p25509501.html Sent from the freebsd-questions mailing list archive at Nabble.com. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo

Re: IPF, NAT or NIC

2009-09-18 Thread Steve Bertrand
Steve Bertrand wrote: map fxp0 192.168.0.0/24 - 0/32 Aside from that, are you sure that this entry shouldn't be: map rl0 192.168.0.0/24 - 0/32 ? Again, I don't know ipnat, but to me, in the fxp0 entry, it looks like you are trying to map the 192 space coming INTO fxp0 (which in your

Re: IPF, NAT or NIC

2009-09-18 Thread Steve Bertrand
Freeco wrote: Steve Bertrand wrote: |-pc | ISP-Switch---Gateway--Switchpc | \ | | \ |_pc | \ server1 server2

Re: IPF, NAT or NIC

2009-09-18 Thread Freeco
: 255.255.255.128 (SAME IN rc.conf ON FREEBSD) Gateway: 192.168.1.2 Dns: x.x.88.17 Dns: 192.168.1.2 -- View this message in context: http://www.nabble.com/IPF%2C-NAT-or-NIC-tp25491958p25510433.html Sent from the freebsd-questions mailing list archive at Nabble.com

Re: IPF, NAT or NIC

2009-09-18 Thread Steve Bertrand
Freeco wrote: Steve wrote: In the diagram above, you need two NICs in the gateway. One goes to the ISP, and the other 192.168.1.2 goes to the switch. The rest of the computers also plug into the switch. If all of the devices have 192.168.1.x, they are all in the same subnet. If the 2 pc's

Re: IPF, NAT or NIC

2009-09-18 Thread Freeco
that there is some sort of cabling mishap. P.S. Sorry for my poor english You don't have to be. You're doing just fine! -- View this message in context: http://www.nabble.com/IPF%2C-NAT-or-NIC-tp25491958p25510716.html Sent from the freebsd-questions mailing list archive at Nabble.com

Re: IPF, NAT or NIC

2009-09-18 Thread Freeco
fxp0 is integrated NIC. In this NIC connects a cable from ISP. rl0 is PCI NIC the cable connets to switch with all other 3 pc's. -- View this message in context: http://www.nabble.com/IPF%2C-NAT-or-NIC-tp25491958p25510880.html Sent from the freebsd-questions mailing list archive at Nabble.com

Re: IPF, NAT or NIC

2009-09-18 Thread Steve Bertrand
Freeco wrote: - What is connected to the switch in your room? There is connected ISP cable from my home switch and 3 pc's So, like this: down the street | | home switch---neighbor | | cable

Re: IPF, NAT or NIC

2009-09-18 Thread Freeco
cables was connected. -- View this message in context: http://www.nabble.com/IPF%2C-NAT-or-NIC-tp25491958p25511903.html Sent from the freebsd-questions mailing list archive at Nabble.com. ___ freebsd-questions@freebsd.org mailing list http

Re: IPF, NAT or NIC

2009-09-18 Thread Steve Bertrand
Freeco wrote: Thanks man! Everything works when i connected a cable directly to the gateway. Till this there was two cables connected because inet cable was too short. I kind of figured something along those lines. But i want my gateway to bring to another room so i'll need to connect 2

Re: IPF, NAT or NIC

2009-09-18 Thread Steve Bertrand
Freeco wrote: Thanks man! Everything works when i connected a cable directly to the gateway. Till this there was two cables connected because inet cable was too short. But i want my gateway to bring to another room so i'll need to connect 2 cables and inet will doesn't work again? I

Re: IPF, NAT or NIC

2009-09-18 Thread Freeco
Ok, thanks for advice about switch. You really helped me so much. Now i'll get with my ipf and nat rules. What ports u recomend to keep open and how to block gateway ping? -- View this message in context: http://www.nabble.com/IPF%2C-NAT-or-NIC-tp25491958p25512314.html Sent from the freebsd

Re: IPF, NAT or NIC

2009-09-18 Thread Steve Bertrand
Freeco wrote: Ok, thanks for advice about switch. You really helped me so much. Now i'll get with my ipf and nat rules. I'm glad I could help. So many people here and on other lists have helped me significantly over the years, so I try to give back whenever I can/have time. What ports u

Re: IPF, NAT or NIC

2009-09-18 Thread Freeco
After some time, when all 3 pc's was connected to switch inet lost. I couldn't open any web page. I didn;t try to ping anything. -- View this message in context: http://www.nabble.com/IPF%2C-NAT-or-NIC-tp25491958p25513318.html Sent from the freebsd-questions mailing list archive at Nabble.com

Re: IPF, NAT or NIC

2009-09-18 Thread Freeco
My gateway gave me a message: gateway kernel: arp: x.x.88.17 is on fxp0 but got reply from 00:0c:42:11:15:a8 on rl0 -- View this message in context: http://www.nabble.com/IPF%2C-NAT-or-NIC-tp25491958p25513518.html Sent from the freebsd-questions mailing list archive at Nabble.com

Re: IPF, NAT or NIC

2009-09-18 Thread Steve Bertrand
Freeco wrote: My gateway gave me a message: gateway kernel: arp: x.x.88.17 is on fxp0 but got reply from 00:0c:42:11:15:a8 on rl0 That MAC address is that of a Mikrotic router. I suspect that you've created a cabling loop of some sort again. Steve smime.p7s Description: S/MIME

IPF, NAT or NIC

2009-09-17 Thread Freeco
- 192.168.1.2 (rl0 private) pc IP - 192.168.1.x (private) where's the problem? -- View this message in context: http://www.nabble.com/IPF%2C-NAT-or-NIC-tp25491958p25491958.html Sent from the freebsd-questions mailing list archive at Nabble.com. ___ freebsd

Re: IPF, NAT or NIC

2009-09-17 Thread Ruben de Groot
On Thu, Sep 17, 2009 at 08:27:45AM -0700, Freeco typed: I'm new in BSD, I installed FreeBSD 7.2 and want to use as gateway with IPF and NAT. I have 2 NIC's fxp0 and rl0. When i booted up my pc i got a message gateway kernel: arp xxx.xxx.88.17 is on fxp0 but got reply from rl0. My