Re: routing question

2005-09-01 Thread Dr. Genio
ifconfig xl1 xxx.xxx.xxx.63/27 sysctl net.link.ether.inet.proxyall=1 And use xxx.xxx.xxx.32/27 in internal net for the customers with default gateway xxx.xxx.xxx.63. Swap masks if you want more then /27 for customers: nic 1: xl0, xxx.xxx.xxx.2/30 nic 2: xl1, xxx.xxx.xxx.63/27 and net.link.ethe

Re: VLANs / Bridging / BPDU

2005-09-01 Thread Christopher McCrory
On Thu, 2005-09-01 at 22:56 +0100, Peter Wood wrote: > Sods law, after working on this for two weeks I ask for help, then 20 > minutes later I figure it out. The easiest solution was to disable BPDU > on the machines port on the Cisco. > > interface GigabitEthernet0/1 > switchport mode trunk >

Re: routing question

2005-09-01 Thread .
[ Charset ISO-8859-1 unsupported, converting... ] > Hi everyone. I'm trying to do some strange things to the routing table, and > I can't get them to work. > Our ISP assigned us a /26 subnet. xxx.xxx.xx.1 is the main router, a Cisco > 2511. xx.xx.xx.2 is the main server, and there are a few machi

Re: Routing problem (sort of)

2005-09-01 Thread Daniel O'Connor
On Tuesday 30 August 2005 21:43, Paul Schenkeveld wrote: > > I am wondering what the "right" solution is here - I guess I could assign > > an IP to the tunnel but it seems like a bit of a waste.. > > You could assign the same IP address as dc1 to your gif0 interface but > with a /32 netmask. Hmm,

Re: VLANs / Bridging / BPDU

2005-09-01 Thread Dave+Seddon
Or just interface GigabitEthernet0/1 spanning-tree portfast Or disable spanning tree no spanning-tree vlan 1-100 You could also do some MAC address filtering as the BPDUs are ethernet multicast, but that smacks of hard work. :) Peter Wood writes: Sods law, after working on this f

Re: Testing Ethernet Ports

2005-09-01 Thread Dave+Seddon
Greetings, You need a seperate routing table. Try using Xen (http://www.cl.cam.ac.uk/Research/SRG/netos/xen/), or there's a patch floating around for FreeBSD4.9. Dave Barney Wolff writes: On Thu, Sep 01, 2005 at 09:58:14AM -0500, Will Maier wrote: On Thu, Sep 01, 2005 at 10:36:04AM -

routing question

2005-09-01 Thread Dr. Genio
Hi everyone. I'm trying to do some strange things to the routing table, and I can't get them to work. Our ISP assigned us a /26 subnet. xxx.xxx.xx.1 is the main router, a Cisco 2511. xx.xx.xx.2 is the main server, and there are a few machines. This server, a FreeBSD is an access server, which al

Re: VLANs / Bridging / BPDU

2005-09-01 Thread Peter Wood
Sods law, after working on this for two weeks I ask for help, then 20 minutes later I figure it out. The easiest solution was to disable BPDU on the machines port on the Cisco. interface GigabitEthernet0/1 switchport mode trunk spanning-tree bpdufilter enable Thought I'd post it for referenc

VLANs / Bridging / BPDU

2005-09-01 Thread Peter Wood
Evening, I'm having an issue with using vlans and bridging. The issue is probably something that can be fixed in either FreeBSD or in the Cisco IOS. I'll explain what I have. I've got a external router that's sitting on vlan 20, also on 20 is a FreeBSD gateway which I intend to use as a fire

Re: Testing Ethernet Ports

2005-09-01 Thread Barney Wolff
On Thu, Sep 01, 2005 at 09:58:14AM -0500, Will Maier wrote: > On Thu, Sep 01, 2005 at 10:36:04AM -0400, Ames, Jonathan (N-ENSCO) wrote: > > Can someone give me a hand with this? > > Here goes... > > > A PC has two ethernet ports, both directly on the motherboard. > > Can I connect them externally

Re: Testing Ethernet Ports

2005-09-01 Thread Will Maier
On Thu, Sep 01, 2005 at 10:36:04AM -0400, Ames, Jonathan (N-ENSCO) wrote: > Can someone give me a hand with this? Here goes... > A PC has two ethernet ports, both directly on the motherboard. > Can I connect them externally with an ethernet cable and ping from > one port to the other to test them

Testing Ethernet Ports

2005-09-01 Thread Ames, Jonathan (N-ENSCO)
Hi, Can someone give me a hand with this? A PC has two ethernet ports, both directly on the motherboard. Can I connect them externally with an ethernet cable and ping from one port to the other to test them both? How? Another PC has the two ports listed above, plus an additional ethernet por

Re: strange timeout error returned by kevent() in 6.0

2005-09-01 Thread Igor Sysoev
On Thu, 1 Sep 2005, Igor Sysoev wrote: I found strange timeout errors returned by kevent() in 6.0 using my http server named nginx. The nginx's run on three machines: two 4.10-RELEASE and one 6.0-BETA3. All machines serve the same content (simple cluster) and each handles about 200 requests/se

Re: dhclient and ADSL modem trouble... [solved]

2005-09-01 Thread Digital Brain
Hi Chris and thanks for your reply. I'm saying that cause some ISPs lock their "IP-offering" with each client's hardware address (which is defined at first use). Turns out this was right. The problem was that I didn't properly "release" the session. As far as the ``spoofing'' in the previous

Re: dhclient and ADSL modem trouble...

2005-09-01 Thread Digital Brain
Hi Chris, Linux and freebsd you re trying, running on same hardware (nic) ? I'm saying that cause some ISPs lock their "IP-offering" with each client's hardware address (which is defined at first use). Linux is on my laptop (and works ok), while freebsd is on another machine. I had thought o

Re: dhclient and ADSL modem trouble...

2005-09-01 Thread Chris Dionissopoulos
Digital Brain wrote: You sure the ISP doesn't use PPPeE? The modem acts as a bridge. All I have to do is turn it on; it then synchronizes with the ISP's network (PPPoA). Then I just execute dhcpcd eth0 from the linux machine (connected to the modem) and I'm assigned an IP and a default gat

Re: dhclient and ADSL modem trouble...

2005-09-01 Thread Milan Obuch
On Thursday 01 September 2005 11:45, Digital Brain wrote: > >You sure the ISP doesn't use PPPeE? > > The modem acts as a bridge. All I have to do is turn it on; it then > synchronizes with the ISP's network (PPPoA). Then I just execute dhcpcd > eth0 from the linux machine (connected to the modem) a

strange timeout error returned by kevent() in 6.0

2005-09-01 Thread Igor Sysoev
I found strange timeout errors returned by kevent() in 6.0 using my http server named nginx. The nginx's run on three machines: two 4.10-RELEASE and one 6.0-BETA3. All machines serve the same content (simple cluster) and each handles about 200 requests/second. On 6.0 sometimes (2 or 3 times per

Re: dhclient and ADSL modem trouble...

2005-09-01 Thread Digital Brain
You sure the ISP doesn't use PPPeE? The modem acts as a bridge. All I have to do is turn it on; it then synchronizes with the ISP's network (PPPoA). Then I just execute dhcpcd eth0 from the linux machine (connected to the modem) and I'm assigned an IP and a default gateway in mere seconds.

Re: sbspace() / sbappendaddr() problem

2005-09-01 Thread VANHULLEBUS Yvan
On Thu, Sep 01, 2005 at 09:54:42AM +0200, VANHULLEBUS Yvan wrote: > Hi all. > [] > #define sbspace(sb) \ > (ulmin( ( (sb)->sb_hiwat > (sb)->sb_cc ? (sb)->sb_hiwat - (sb)->sb_cc : 0), \ > (sb)->sb_mbmax > (sb)->sb_mbcnt ? (sb)->sb_mbmax - (sb)->sb_mbcnt : 0))) Copy/paste error, there i

carp and reserved channles

2005-09-01 Thread Donatas
hello, is it possible to use carp to create reserve(and/or load-balanced) ethernet channel between two machines? basic idea looks like: machine-1 (em0)eth(em0)machine-2 machine-1 (em1)eth(reserved)--(em1)machine-2 as far as i know carp cannot allow to share the

sbspace() / sbappendaddr() problem

2005-09-01 Thread VANHULLEBUS Yvan
Hi all. I have some reccurent problems with PFKey interafce for a while, whith ENOBUFS errors. While tracking down the problem, I found that a test goes wrong in sbappendaddr(), in kern_uipc_socket2.c, because the "space" variable (an int) gets "bigger" than the result of sbspace(sb), which shlo