Re: rl2 not working on otherwise functioning network/gateway

2004-09-02 Thread Bill Moran
Subhro <[EMAIL PROTECTED]> wrote:
> I also faced the same problem with my packet filtering bridge. I
> wanted plug in a third NIC and assign an IP to in in order to perform
> remote administration from within the LAN. But I have come to the
> conclusion that if you start to bridge ( read put up a gateway)
> between two NICS, then it is not possible to use a third NIC to get
> things done as you say.

A bridge is different from a gateway.

I've run gateways with more than 2 NICs and the setup can be a bit
tricky, but they've worked fine.

I would suggest providing more detailed information.  For example, you
may be assigning invalid IP ranges to the NICs, but you don't say what
those IP ranges are, so I can't say.  Please post the exact commands
you used, and the exact output received.  The script(1) command can
be useful for capturing this information.

In addition, please provide complete information on all NICs, (i.e.
the complete output of "ifconfig") as well as the output of
"netstat -rn".  Also, a copy of your /etc/rc.conf will probably be
necessary.

> Regards
> S.
> 
> On Wed, 1 Sep 2004 22:42:33 -0400 (EDT), [EMAIL PROTECTED]
> <[EMAIL PROTECTED]> wrote:
> > Ok, if someone here can help me w/ this I will be really grateful. I
> > turned to this list after a post on a forum offering the expected advice
> > didn't help solve my problem. Basically my computer acts as a gateway for
> > my network, and it functions fine. I then decided to add another network
> > adapter so that I could add my file server to the network. But after
> > making the necessary changes to my rc.conf, I found that the network card
> > was "active", but had no IP address, and wasn't passing traffic. I'm
> > attaching my dmesg, and the output from ifconfig rl2. Here are a few
> > things I've tried to remedy the problem.
> > 
> > I tried swapping out the nic, disabling acpi, resetting the CMOS battery,
> > booting with the GNERIC kernel, and adding network information to th NIC
> > manually.
> > 
> > None of this helped. Anyway, like I said, the gateway functions for the
> > other computer on the network, so firewall and NATD are there. Here is all
> > the info

-- 
Bill Moran
Potential Technologies
http://www.potentialtech.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: rl2 not working on otherwise functioning network/gateway

2004-09-01 Thread Micheal Patterson

- Original Message - 
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, September 01, 2004 9:42 PM
Subject: rl2 not working on otherwise functioning network/gateway


Ok, if someone here can help me w/ this I will be really grateful. I
turned to this list after a post on a forum offering the expected 
advice
didn't help solve my problem. Basically my computer acts as a gateway 
for
my network, and it functions fine. I then decided to add another 
network
adapter so that I could add my file server to the network. But after
making the necessary changes to my rc.conf, I found that the network 
card
was "active", but had no IP address, and wasn't passing traffic. I'm
attaching my dmesg, and the output from ifconfig rl2. Here are a few
things I've tried to remedy the problem.


You can't have multiple nics on the same network segment unless the 
system is in bridge mode. If you're wanting to route through, I assume, 
rl0 to the net, and have rl1 internal to the other system(s), you'll 
either have to bridge rl1 / rl2 together (man bridge) or renumber your 
internal systems to something other than the same network that rl1 is 
on.

--
Micheal Patterson
TSG Network Administration
405-917-0600
Confidentiality Notice:  This e-mail message, including any attachments,
is for the sole use of the intended recipient(s) and may contain
confidential and privileged information. Any unauthorized review, use,
disclosure or distribution is prohibited. If you are not the intended
recipient, please contact the sender by reply e-mail and destroy all
copies of the original message.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: rl2 not working on otherwise functioning network/gateway

2004-09-01 Thread Subhro
I also faced the same problem with my packet filtering bridge. I
wanted plug in a third NIC and assign an IP to in in order to perform
remote administration from within the LAN. But I have come to the
conclusion that if you start to bridge ( read put up a gateway)
between two NICS, then it is not possible to use a third NIC to get
things done as you say.

Regards
S.

On Wed, 1 Sep 2004 22:42:33 -0400 (EDT), [EMAIL PROTECTED]
<[EMAIL PROTECTED]> wrote:
> Ok, if someone here can help me w/ this I will be really grateful. I
> turned to this list after a post on a forum offering the expected advice
> didn't help solve my problem. Basically my computer acts as a gateway for
> my network, and it functions fine. I then decided to add another network
> adapter so that I could add my file server to the network. But after
> making the necessary changes to my rc.conf, I found that the network card
> was "active", but had no IP address, and wasn't passing traffic. I'm
> attaching my dmesg, and the output from ifconfig rl2. Here are a few
> things I've tried to remedy the problem.
> 
> I tried swapping out the nic, disabling acpi, resetting the CMOS battery,
> booting with the GNERIC kernel, and adding network information to th NIC
> manually.
> 
> None of this helped. Anyway, like I said, the gateway functions for the
> other computer on the network, so firewall and NATD are there. Here is all
> the info
> 
> # ifcongfig rl2
> rl2: flags=8843 mtu 1500
> options=8
> inet6 fe80::240:5ff:fe7c:6e4c%rl2 prefixlen 64 scopeid 0x3
> ether 00:40:05:7c:6e:4c
> media: Ethernet autoselect (100baseTX  )
> status: active
> 
> # dmesg
> Copyright (c) 1992-2004 The FreeBSD Project.
> Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
> The Regents of the University of California. All rights reserved.
> FreeBSD 5.2.1-RELEASE #1: Fri Aug 6 06:35:44 MST 2004
> chris@:/usr/src/sys/i386/compile/SOUNDGEN
> Preloaded elf kernel "/boot/kernel/kernel" at 0xc0a8f000.
> Preloaded elf module "/boot/kernel/acpi.ko" at 0xc0a8f1f4.
> Timecounter "i8254" frequency 1193182 Hz quality 0
> CPU: AMD Athlon(tm) Processor (1101.95-MHz 686-class CPU)
> Origin = "AuthenticAMD" Id = 0x642 Stepping = 2
> Features=0x183f9ff
> AMD Features=0xc044
> real memory = 536805376 (511 MB)
> avail memory = 511762432 (488 MB)
> Pentium Pro MTRR support enabled
> npx0: [FAST]
> npx0:  on motherboard
> npx0: INT 16 interface
> acpi0:  on motherboard
> pcibios: BIOS version 2.10
> Using $PIR table, 7 entries at 0xc00fde80
> acpi0: Power Button (fixed)
> Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
> acpi_timer0: <24-bit timer at 3.579545MHz> port 0x4008-0x400b on acpi0
> acpi_cpu0:  port 0x530-0x537 on acpi0
> acpi_button0:  on acpi0
> acpi_button1:  on acpi0
> pcib0:  port
> 0x6000-0x607f,0x5000-0x500f,0x4080-0x40ff,0x4000-0x407f,0xcf8-0xcff on
> acpi0
> pci0:  on pcib0
> pcib0: slot 7 INTD is routed to irq 10
> pcib0: slot 7 INTD is routed to irq 10
> pcib0: slot 7 INTC is routed to irq 9
> pcib0: slot 7 INTC is routed to irq 9
> pcib0: slot 10 INTA is routed to irq 11
> pcib0: slot 11 INTA is routed to irq 9
> pcib0: slot 12 INTA is routed to irq 10
> pcib0: slot 13 INTA is routed to irq 11
> agp0:  mem
> 0xd000-0xd3ff at device 0.0 on pci0
> pcib1:  at device 1.0 on pci0
> pci1:  on pcib1
> pcib0: slot 1 INTA is routed to irq 11
> pcib1: slot 0 INTA is routed to irq 11
> pci1:  at device 0.0 (no driver attached)
> isab0:  at device 7.0 on pci0
> isa0:  on isab0
> atapci0:  port 0xc000-0xc00f at device 7.1
> on pci0
> ata0: at 0x1f0 irq 14 on atapci0
> ata0: [MPSAFE]
> ata1: at 0x170 irq 15 on atapci0
> ata1: [MPSAFE]
> uhci0:  port 0xc400-0xc41f irq 10 at device 7.2
> on pci0
> usb0:  on uhci0
> usb0: USB revision 1.0
> uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
> uhub0: 2 ports with 2 removable, self powered
> uhci1:  port 0xc800-0xc81f irq 10 at device 7.3
> on pci0
> usb1:  on uhci1
> usb1: USB revision 1.0
> uhub1: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
> uhub1: 2 ports with 2 removable, self powered
> pcm0:  port 0xd400-0xd403,0xd000-0xd003,0xcc00-0xccff irq 9
> at device 7.5 on pci0
> pcm0: 
> pci0:  at device 7.6 (no driver attached)
> rl0:  port 0xdc00-0xdcff mem
> 0xd9012000-0xd90120ff irq 11 at device 10.0 on pci0
> rl0: Ethernet address: 00:30:bd:25:ea:17
> miibus0:  on rl0
> rlphy0:  on miibus0
> rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
> rl1:  port 0xe000-0xe0ff mem
> 0xd901-0xd90100ff irq 9 at device 11.0 on pci0
> rl1: Ethernet address: 00:30:bd:22:18:c0
> miibus1:  on rl1
> rlphy1:  on miibus1
> rlphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
> rl2:  port 0xe400-0xe4ff mem
> 0xd9011000-0xd90110ff irq 10 at device 12.0 on pci0
> rl2: Ethernet address: 00:40:05:7c:6e:4c
> miibus2:  on rl2
> rlphy2:  on miibus2
> rlphy2: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
> pci0:  at device 13.0 (no driver attached)
> fdc0:  port
> 0x3f7,0x3f0-0

rl2 not working on otherwise functioning network/gateway

2004-09-01 Thread chris
Ok, if someone here can help me w/ this I will be really grateful. I
turned to this list after a post on a forum offering the expected advice
didn't help solve my problem. Basically my computer acts as a gateway for
my network, and it functions fine. I then decided to add another network
adapter so that I could add my file server to the network. But after
making the necessary changes to my rc.conf, I found that the network card
was "active", but had no IP address, and wasn't passing traffic. I'm
attaching my dmesg, and the output from ifconfig rl2. Here are a few
things I've tried to remedy the problem.

I tried swapping out the nic, disabling acpi, resetting the CMOS battery,
booting with the GNERIC kernel, and adding network information to th NIC
manually.

None of this helped. Anyway, like I said, the gateway functions for the
other computer on the network, so firewall and NATD are there. Here is all
the info

# ifcongfig rl2
rl2: flags=8843 mtu 1500
options=8
inet6 fe80::240:5ff:fe7c:6e4c%rl2 prefixlen 64 scopeid 0x3
ether 00:40:05:7c:6e:4c
media: Ethernet autoselect (100baseTX  )
status: active

# dmesg
Copyright (c) 1992-2004 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD 5.2.1-RELEASE #1: Fri Aug 6 06:35:44 MST 2004
chris@:/usr/src/sys/i386/compile/SOUNDGEN
Preloaded elf kernel "/boot/kernel/kernel" at 0xc0a8f000.
Preloaded elf module "/boot/kernel/acpi.ko" at 0xc0a8f1f4.
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: AMD Athlon(tm) Processor (1101.95-MHz 686-class CPU)
Origin = "AuthenticAMD" Id = 0x642 Stepping = 2
Features=0x183f9ff
AMD Features=0xc044
real memory = 536805376 (511 MB)
avail memory = 511762432 (488 MB)
Pentium Pro MTRR support enabled
npx0: [FAST]
npx0:  on motherboard
npx0: INT 16 interface
acpi0:  on motherboard
pcibios: BIOS version 2.10
Using $PIR table, 7 entries at 0xc00fde80
acpi0: Power Button (fixed)
Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x4008-0x400b on acpi0
acpi_cpu0:  port 0x530-0x537 on acpi0
acpi_button0:  on acpi0
acpi_button1:  on acpi0
pcib0:  port
0x6000-0x607f,0x5000-0x500f,0x4080-0x40ff,0x4000-0x407f,0xcf8-0xcff on
acpi0
pci0:  on pcib0
pcib0: slot 7 INTD is routed to irq 10
pcib0: slot 7 INTD is routed to irq 10
pcib0: slot 7 INTC is routed to irq 9
pcib0: slot 7 INTC is routed to irq 9
pcib0: slot 10 INTA is routed to irq 11
pcib0: slot 11 INTA is routed to irq 9
pcib0: slot 12 INTA is routed to irq 10
pcib0: slot 13 INTA is routed to irq 11
agp0:  mem
0xd000-0xd3ff at device 0.0 on pci0
pcib1:  at device 1.0 on pci0
pci1:  on pcib1
pcib0: slot 1 INTA is routed to irq 11
pcib1: slot 0 INTA is routed to irq 11
pci1:  at device 0.0 (no driver attached)
isab0:  at device 7.0 on pci0
isa0:  on isab0
atapci0:  port 0xc000-0xc00f at device 7.1
on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata0: [MPSAFE]
ata1: at 0x170 irq 15 on atapci0
ata1: [MPSAFE]
uhci0:  port 0xc400-0xc41f irq 10 at device 7.2
on pci0
usb0:  on uhci0
usb0: USB revision 1.0
uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1:  port 0xc800-0xc81f irq 10 at device 7.3
on pci0
usb1:  on uhci1
usb1: USB revision 1.0
uhub1: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
pcm0:  port 0xd400-0xd403,0xd000-0xd003,0xcc00-0xccff irq 9
at device 7.5 on pci0
pcm0: 
pci0:  at device 7.6 (no driver attached)
rl0:  port 0xdc00-0xdcff mem
0xd9012000-0xd90120ff irq 11 at device 10.0 on pci0
rl0: Ethernet address: 00:30:bd:25:ea:17
miibus0:  on rl0
rlphy0:  on miibus0
rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
rl1:  port 0xe000-0xe0ff mem
0xd901-0xd90100ff irq 9 at device 11.0 on pci0
rl1: Ethernet address: 00:30:bd:22:18:c0
miibus1:  on rl1
rlphy1:  on miibus1
rlphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
rl2:  port 0xe400-0xe4ff mem
0xd9011000-0xd90110ff irq 10 at device 12.0 on pci0
rl2: Ethernet address: 00:40:05:7c:6e:4c
miibus2:  on rl2
rlphy2:  on miibus2
rlphy2: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
pci0:  at device 13.0 (no driver attached)
fdc0:  port
0x3f7,0x3f0-0x3f5 irq 6 drq 2 on acpi0
sio0 port 0x3f8-0x3ff irq 4 on acpi0
sio0: type 16550A
sio1 port 0x2f8-0x2ff irq 3 on acpi0
sio1: type 16550A
ppc0 port 0x778-0x77b,0x378-0x37f irq 7 drq 3 on acpi0
ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/8 bytes threshold
ppbus0:  on ppc0
plip0:  on ppbus0
lpt0:  on ppbus0
lpt0: Interrupt-driven port
ppi0:  on ppbus0
atkbdc0:  port 0x64,0x60 irq 1 on acpi0
atkbd0:  flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
psm0:  irq 12 on atkbdc0
psm0: model IntelliMouse, device ID 3
orm0:  at iomem 0xc-0xca7ff on isa0
pmtimer0 on isa0
sc0:  at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
vga0:  at port 0x