Re: FreeBSD Networking Questions / vlan, lagg, routing, FIBs, ezjail

2009-03-28 Thread Peter Cornelius

> Now, it is my suspicion that the apparent need for promisc at the router
> end indeed is an apperent one and not really the router's fault but rather
> the other end's. The other end, in this case, is the server below.
> 
> If the server, with its single MIB, default-routes its packets through one
> specific of its vlans which may not be the one, at the router's end, with
> the corresponding IP network the traffic entered into the net, would it be
> possible that there's something preventing them be received? Unless there's
> promisc on, of course...
> 
> I'll grab the laptop next time I think of it and have the switch monitor
> traffic to it to see what really is on the wire, maybe that helps and gives
> me a clue. I just keep forgetting the bl**dy thing each time I leave...

Ok, after a good portion of fiddling with the switch, it seems that you cannot 
copy traffic from link-aggregated ports to a monitor port on a Linksys SRW2016. 
Now out at my wits end here it seems.

I'll try the FIB approach hopefully next week then.

> > - On my "server", is there any way to set up individual
> > > "default" routes (to the router) for each of the vlans short of
> > > tucking the ezjails behind the vlan interfaces each into their own
> > > FIB (btw,. has anyone ever done that?)?
> > 
> > Yes, from FreeBSD-7.1 and beyond, there is support
> > for up to 16 routing tables. Use the setfib command
> > to select routing table for outgoing connections.
> 
> So, I interpret your response as that I am correct, I have a single
> default route per FIB, and that's it. Which effectively means that I do need
> FIBs. I agree that this behaviour might make some sense :)
> 
> > Something like, "setfib 10 jail $JAILOPTSANDARGS",
> > in the jail case. You have to compile a kernel
> > with the option ROUTETABLES=n. Read the message for
> > revision 1.1485 from here:
> > http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/conf/NOTES
> 
(...)
> Generally speaking, or rather, inquiring, has anyone ever done FIBs with
> ezjail? It probably is very easy, and I consider(ed) looking into it myself
> but I currently spend about max. an hour every 2-3 days on FreeBSE so I
> don't really progress. Well, might eventually, but that'll be dunno when. But
> well, such is life, and this is pleasure not work :) and I hope to learn
> something useful on the way.
(...)
> [1]  
> http://lists.freebsd.org/pipermail/freebsd-arch/2007-December/007331.html

Regards,

Peter.
-- 
Pt! Schon vom neuen GMX MultiMessenger gehört? Der kann`s mit allen: 
http://www.gmx.net/de/go/multimessenger01
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: FreeBSD Networking Questions / vlan, lagg, routing, FIBs, ezjail

2009-03-18 Thread Peter Cornelius
Hiya Nikos, re list,

> Hm, the promiscuous mode must be needed for the vlan driver.
> But you don't have to set it.

It does not work without, at the router end. Suspicions, please see below.

> I can't think of any implication in a switched ethernet environment.
> 
> It is just that every frame received from the cable is offered
> to the operating system for further evaluation. In a switched
> ethernet environment every frame that will reach your card will
> be either:
> 1) for you.
> 2) a broadcast frame.
> 3) a multicast frame.

And hence there should be no (notable) effect. That is my interpretation, yes.

> Things would be very different, if your system was connected to a
> hub where a multitude of frames(every frame on the ethernet) would
> be interrupting the kernel for no reason.

Exactly. But I connect to a switch and hence expect the behaviour detailed 
above.

Now, it is my suspicion that the apparent need for promisc at the router end 
indeed is an apperent one and not really the router's fault but rather the 
other end's. The other end, in this case, is the server below.

If the server, with its single MIB, default-routes its packets through one 
specific of its vlans which may not be the one, at the router's end, with the 
corresponding IP network the traffic entered into the net, would it be possible 
that there's something preventing them be received? Unless there's promisc on, 
of course...

I'll grab the laptop next time I think of it and have the switch monitor 
traffic to it to see what really is on the wire, maybe that helps and gives me 
a clue. I just keep forgetting the bl**dy thing each time I leave...

> - On my "server", is there any way to set up individual
> > "default" routes (to the router) for each of the vlans short of
> > tucking the ezjails behind the vlan interfaces each into their own
> > FIB (btw,. has anyone ever done that?)?
> 
> Yes, from FreeBSD-7.1 and beyond, there is support
> for up to 16 routing tables. Use the setfib command
> to select routing table for outgoing connections.

So, I interpret your response as that I am correct, I have a single default 
route per FIB, and that's it. Which effectively means that I do need FIBs. I 
agree that this behaviour might make some sense :)

> Something like, "setfib 10 jail $JAILOPTSANDARGS",
> in the jail case. You have to compile a kernel
> with the option ROUTETABLES=n. Read the message for
> revision 1.1485 from here:
> http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/conf/NOTES

I have seen that section as a separate posting [1] which is why I suspected to 
possibly be able to resolve my issues above with it. It is my intention to 
insert 4 to 8 FIBs asap but I currently don't know when I take my time doing so.

Generally speaking, or rather, inquiring, has anyone ever done FIBs with 
ezjail? It probably is very easy, and I consider(ed) looking into it myself but 
I currently spend about max. an hour every 2-3 days on FreeBSE so I don't 
really progress. Well, might eventually, but that'll be dunno when. But well, 
such is life, and this is pleasure not work :) and I hope to learn something 
useful on the way.

Thanks a lot, and

All the best,

Peter.

[1]   http://lists.freebsd.org/pipermail/freebsd-arch/2007-December/007331.html
-- 
Pt! Schon vom neuen GMX MultiMessenger gehört? Der kann`s mit allen: 
http://www.gmx.net/de/go/multimessenger01
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: FreeBSD Networking Questions / vlan, lagg, routing, FIBs, ezjail

2009-03-17 Thread Nikos Vassiliadis

Peter Cornelius wrote:

- On my router, why do I have to set the base interface to
promiscuous mode in order to get packets from/to my vlans through? Am
I doing something wrong? Are there any implications of working this
way? 


Hm, the promiscuous mode must be needed for the vlan driver.
But you don't have to set it.

I can't think of any implication in a switched ethernet environment.

It is just that every frame received from the cable is offered
to the operating system for further evaluation. In a switched
ethernet environment every frame that will reach your card will
be either:
1) for you.
2) a broadcast frame.
3) a multicast frame.

Things would be very different, if your system was connected to a
hub where a multitude of frames(every frame on the ethernet) would
be interrupting the kernel for no reason.

- On my "server", is there any way to set up individual

"default" routes (to the router) for each of the vlans short of
tucking the ezjails behind the vlan interfaces each into their own
FIB (btw,. has anyone ever done that?)?


Yes, from FreeBSD-7.1 and beyond, there is support
for up to 16 routing tables. Use the setfib command
to select routing table for outgoing connections.
Something like, "setfib 10 jail $JAILOPTSANDARGS",
in the jail case. You have to compile a kernel
with the option ROUTETABLES=n. Read the message for
revision 1.1485 from here:
http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/conf/NOTES

Nikos
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


FreeBSD Networking Questions / vlan, lagg, routing, FIBs, ezjail

2009-03-15 Thread Peter Cornelius
Dear all,

While I'm at it, I don't seem to be able to get my head around some networking 
items I observed (currently only vlan(4), not ng_vlan(4), if that makes a 
difference):

- On my router, why do I have to set the base interface to promiscuous mode in 
order to get packets from/to my vlans through? Am I doing something wrong? Are 
there any implications of working this way?
- On my "server", is there any way to set up individual "default" routes (to 
the router) for each of the vlans short of tucking the ezjails behind the vlan 
interfaces each into their own FIB (btw,. has anyone ever done that?)?

So I'm stuck and would appreciate a hand. It probably is something pretty 
obvious which I persistently ignore, or something stupid I attempt to do here 
but I got curious now :)

Thanks a lot, and

All the best,

Peter.
-- 
Nur bis 16.03.! DSL-Komplettanschluss inkl. WLAN-Modem für nur 
17,95 ¿/mtl. + 1 Monat gratis!* http://dsl.gmx.de/?ac=OM.AD.PD003K11308T4569a
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Sound on Thinkpad and Networking questions

2005-09-13 Thread Karel Miklav
Lars Lindblad wrote:
> New problems with FreeBSD 5.4 on my IBM Thinkpad 600E:

For questions regarding notebooks consider subscribing to
the freebsd-mobile list. In the archives of the mobile
list you can find some questions on TP 600E already
answered.

> 1. I try to get the sound to work, but I never manage
> to make! I have tried to recompile the kernel, as described
> in the FreeBSD Handbook I chapter 8. First I found a website
> dedicated to Thinkpad600E and FreeBSD 4.7, but the lines
> presented there didn't work.

Check out my kernel configuration (attached), it's for 5.4.
Soundcard is enabled by these two lines at the end:

device  sound
device  snd_mss

You must also have your hardware configured (hint: PS2).

-- 

Regards,
Karel Miklav
# TP600E - IBM ThinkPad 600E kernel configuration file
# Lino, 24. oktober 2004 2:32
#
# cd /sys/i386/conf/
# config TP600E
# cd ../compile/TP600E
# make depend
# make
# make install
#
# or
#
# cd /usr/src
# make buildkernel KERNCONF=TP600E
# make installkernel KERNCONF=TP600E

machine i386
#cpuI486_CPU
#cpuI586_CPU
cpu I686_CPU
ident   TP600E

# To statically compile in device wiring instead of /boot/device.hints
#hints  "GENERIC.hints" # Default places to look for devices.

options SCHED_4BSD  # 4BSD scheduler
options INET# InterNETworking
options INET6   # IPv6 communications protocols
options FFS # Berkeley Fast Filesystem
options SOFTUPDATES # Enable FFS soft updates support
options UFS_ACL # Support for access control lists
options UFS_DIRHASH # Improve performance on big directories
options MD_ROOT # MD is a potential root device
options NFSCLIENT   # Network Filesystem Client
options NFSSERVER   # Network Filesystem Server
options NFS_ROOT# NFS usable as /, requires NFSCLIENT
options MSDOSFS # MSDOS Filesystem
options CD9660  # ISO 9660 Filesystem
options PROCFS  # Process filesystem (requires PSEUDOFS)
options PSEUDOFS# Pseudo-filesystem framework
options GEOM_GPT# GUID Partition Tables.
options COMPAT_43   # Compatible with BSD 4.3 [KEEP THIS!]
options COMPAT_FREEBSD4 # Compatible with FreeBSD4
options SCSI_DELAY=15000# Delay (in ms) before probing SCSI
options KTRACE  # ktrace(1) support
options SYSVSHM # SYSV-style shared memory
options SYSVMSG # SYSV-style message queues
options SYSVSEM # SYSV-style semaphores
options _KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time 
extensions
options KBD_INSTALL_CDEV# install a CDEV entry in /dev
options AHC_REG_PRETTY_PRINT# Print register bitfields in debug
# output.  Adds ~128k to driver.
options AHD_REG_PRETTY_PRINT# Print register bitfields in debug
# output.  Adds ~215k to driver.
options ADAPTIVE_GIANT  # Giant mutex is adaptive.
#optionsVESA# To include support for VGA VESA video modes

device  apic# I/O APIC

# Bus support.  Do not remove isa, even if you have no isa slots
device  isa
device  eisa
device  pci

# Floppy drives
#device fdc

# ATA and ATAPI devices
device  ata
device  atadisk # ATA disk drives
#device ataraid # ATA RAID drives
device  atapicd # ATAPI CDROM drives
#device atapifd # ATAPI floppy drives
#device atapist # ATAPI tape drives
options ATA_STATIC_ID   # Static device numbering

## SCSI Controllers
#device ahb # EISA AHA1742 family
#device ahc # AHA2940 and onboard AIC7xxx devices
#device ahd # AHA39320/29320 and onboard AIC79xx devices
#device amd # AMD 53C974 (Tekram DC-390(T))
#device isp # Qlogic family
#device mpt # LSI-Logic MPT-Fusion
##devicencr # NCR/Symbios Logic
#device sym # NCR/Symbios Logic (newer chipsets + those of 
`ncr')
#device trm # Tekram DC395U/UW/F DC315U adapters
#
#device adv # Advansys SCSI adapters
#device adw # Advansys wide SCSI adapters
#device aha # Adaptec 154x SCSI adapters
#device aic # Adaptec 15[012]x SCSI adapters, AIC-6[23]60.
#device bt  # Buslogic/Mylex Mult

Re: Sound on Thinkpad and Networking questions

2005-09-13 Thread Roland Smith
On Tue, Sep 13, 2005 at 10:59:34AM +0200, Lars Lindblad wrote:
> New problems with FreeBSD 5.4 on my IBM Thinkpad 600E:
> 
> 1. I try to get the sound to work, but I never manage
> to make! I have tried to recompile the kernel, as described 
> in the FreeBSD Handbook I chapter 8. First I found a website 
> dedicated to Thinkpad600E and FreeBSD 4.7, but the lines 
> presented there didn't work. Instead I went to chapter 7 in 
> the handbook where it describes how I will change the kernel 
> to work with a Crystal 4232 Soundcard, so I guess I got the 
> right lines for the kernel. But when it comes to building 
> the kernel it says that it doesn't know devices with the 
> names pcm or csa. So, I am kind of stuck... HELP!

How do you know it doesn't work? Because you don't hear anything?

1) Make sure you have a sound driver loaded. To see if ou have a sound
driver loaded, try 'cat /dev/sndstat'. If that returns 'No such file or
directory' there is indeed no sound driver loaded.

I'm not sure is the 4232 is supported. Grepping through the sound driver
sources, I see the following CS chips: CS4281, CS4610/CS4611,
CS4280/CS4614/CS4622/CS4624/CS4630, CS4615

No 4232 to be found.

2) IIRC, the output volume is set to 0 when you first load a sound
driver. You can change that with the 'mixer' program, e.g. 'mixer vol 50'.


> 3. The network I try to build is just a small LAN at home, 
> with computers 192.168.0.1 (my 2.2GHz) and .2 (my 600E) 
> involved. Could I give them other names? Could I be use 
> Terminal or Konqueror to reach them from each other?

You can give them names by setting the hostnames on each in
/etc/rc.conf. Add the IP addresses with the corresponding hostnames to
/etc/hosts on both machines, and check that /etc/nsswitch.conf contains
a line 'hosts: files dns', so that the names can be resolved to IP
addresses.

To chare files between the two PCs, set up an NFS share on the desktop
that you can mount on the laptop.

Roland
-- 
R.F.Smith (http://www.xs4all.nl/~rsmith/) Please send e-mail as plain text.
public key: http://www.xs4all.nl/~rsmith/pubkey.txt


pgpizPlEvFseG.pgp
Description: PGP signature


Re: Sound on Thinkpad and Networking questions

2005-09-13 Thread Fabian Keil
Lars Lindblad <[EMAIL PROTECTED]> wrote:

> New problems with FreeBSD 5.4 on my IBM Thinkpad 600E:
> 
> 1. I try to get the sound to work, but I never manage
> to make! I have tried to recompile the kernel, as described 
> in the FreeBSD Handbook I chapter 8. First I found a website 
> dedicated to Thinkpad600E and FreeBSD 4.7, but the lines 
> presented there didn't work. Instead I went to chapter 7 in 
> the handbook where it describes how I will change the kernel 
> to work with a Crystal 4232 Soundcard, so I guess I got the 
> right lines for the kernel. But when it comes to building 
> the kernel it says that it doesn't know devices with the 
> names pcm or csa. So, I am kind of stuck... HELP!

You don't have to rebuild the kernel to get sound working.
kldloading the right module should be enough.

You can find the available modules with

[EMAIL PROTECTED] ~ $ls /boot/kernel/snd_*
/boot/kernel/snd_ad1816.ko/boot/kernel/snd_maestro3.ko
/boot/kernel/snd_als4000.ko   /boot/kernel/snd_mss.ko
/boot/kernel/snd_cmi.ko   /boot/kernel/snd_neomagic.ko
/boot/kernel/snd_cs4281.ko/boot/kernel/snd_sb16.ko
/boot/kernel/snd_csa.ko   /boot/kernel/snd_sb8.ko
/boot/kernel/snd_driver.ko/boot/kernel/snd_sbc.ko
/boot/kernel/snd_ds1.ko   /boot/kernel/snd_solo.ko
/boot/kernel/snd_emu10k1.ko   /boot/kernel/snd_t4dwave.ko
/boot/kernel/snd_es137x.ko/boot/kernel/snd_uaudio.ko
/boot/kernel/snd_ess.ko   /boot/kernel/snd_via8233.ko
/boot/kernel/snd_fm801.ko /boot/kernel/snd_via82c686.ko
/boot/kernel/snd_ich.ko   /boot/kernel/snd_vibes.ko
/boot/kernel/snd_maestro.ko

I don't know your laptop and therefore don't know which
module you need, but dmesg could give you a clue.

kldload snd_driver will load all sound modules,
hopefully one of them will attach.

> 2. To learn networking I have connected the Thinkpad to my
> 2.2Ghz Intel-machine, but I must admit that still has too
> less knowledge about networking. I have configured the network
> cards so I can now ping both computers, but I need to know 
> more - does anyone have any suggestions about essential 
> reading (books, websites, other) about networking 
> FreeBSD/Linux/Windows? 

"TCP/IP Network Administration" and "The Complete FreeBSD"
both from O'Reilly are good.
I wouldn't call them essential, but reading them won't hurt.

I suppose you already know about the FreeBSD handbook.
 
> 3. The network I try to build is just a small LAN at home, 
> with computers 192.168.0.1 (my 2.2GHz) and .2 (my 600E) 
> involved. Could I give them other names? Could I be use 
> Terminal or Konqueror to reach them from each other?

What do you mean by reaching and what names are you talking
about, host names?

Fabian
-- 
http://www.fabiankeil.de/


pgpPrhcr8xjES.pgp
Description: PGP signature


Sound on Thinkpad and Networking questions

2005-09-13 Thread Lars Lindblad

Hi, the newbie Lars here again - still working on 
NOT being a newbie soon...! ;)

New problems with FreeBSD 5.4 on my IBM Thinkpad 600E:

1. I try to get the sound to work, but I never manage
to make! I have tried to recompile the kernel, as described 
in the FreeBSD Handbook I chapter 8. First I found a website 
dedicated to Thinkpad600E and FreeBSD 4.7, but the lines 
presented there didn't work. Instead I went to chapter 7 in 
the handbook where it describes how I will change the kernel 
to work with a Crystal 4232 Soundcard, so I guess I got the 
right lines for the kernel. But when it comes to building 
the kernel it says that it doesn't know devices with the 
names pcm or csa. So, I am kind of stuck... HELP!

2. To learn networking I have connected the Thinkpad to my
2.2Ghz Intel-machine, but I must admit that still has too
less knowledge about networking. I have configured the network
cards so I can now ping both computers, but I need to know 
more - does anyone have any suggestions about essential 
reading (books, websites, other) about networking 
FreeBSD/Linux/Windows? 

3. The network I try to build is just a small LAN at home, 
with computers 192.168.0.1 (my 2.2GHz) and .2 (my 600E) 
involved. Could I give them other names? Could I be use 
Terminal or Konqueror to reach them from each other?

Thanks in advance,

Lars




-- 
Lars Lindblad <[EMAIL PROTECTED]>

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Networking Questions

2004-04-12 Thread Rob G
Thanks Bob,

This worked out perfectly.  All I did was add the second nic.  COnfigured it
for the First IP in my block and added the Enable Gateway and boom I was off
and surfing :)

Rob G
[EMAIL PROTECTED]
- Original Message -
From: "Bob Johnson" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc: "Rob G" <[EMAIL PROTECTED]>
Sent: Saturday, April 10, 2004 5:57 PM
Subject: Re: Networking Questions


> On Saturday 10 April 2004 01:54 pm, Rob G <"Rob G"
> <[EMAIL PROTECTED]>> wrote:
> > Hi All,
> >
> > I am new to the list, but I have tried researching the archives and
> > couldn't find exactly what I am looking for and would like your
> > opinion on how to do this:
> >
> > I have a 4Meg DSL connection with Multiple Static IPs.
> >
> > 69.63.33.### is my main IP that my router or System that does
> > authentication will always get.
> >
> > 209.213.231.###/29 is my block of 8 other IP's that route to my main
> > IP.
> >
>
> If your ISP is already routing these numbers to your main IP, then it
> should be easy.
>
> > Right now I have my fsb box running mail/web and other services and I
> > would like it to do the routing for my internal network of 4 or so
> > computers.  I have a Hub that I can plug these other systems in to so
> > that is not a problem.
> >
>
> I believe all you need to do is set gateway_enable="YES" in rc.conf (and
> reboot -- I don't know the manual way to accomplish that).  I think
> your box will automatically figure out which IP numbers are on which
> interface, and forward appropriately.  If not, you will need to set up
> a static route to tell it which interface the 209.../29 subnet is on,
> since it won't use the default gateway to the Internet.  Manually, you
> use the route(8) command to do this.  I think you can automate it with
> the static_routes="" entry in rc.conf, but I don't know the syntax.
>
> > What would be the best way to use my block of statics and have them
> > Route properly through my BSD box.  I would like to stay away from
> > NAT as I know it right now, broadband router, as it causes havoc with
> > my filesharing programs and would like to have my other systems
> > pretty much open to the internet and then start locking them down as
> > need be once I get them seeing the outside world and the outside
> > world seeing them.
>
> You shouldn't need to run a real router daemon for this simple
> situation, so you don't need to mess with router_enable in rc.conf.
>
> Now that I've typed all this, it occurs to me that the better answer is
> for you to read the appropriate section of the FreeBSD Handbook:
>
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-routing.ht
ml
>
> >
> > Regards,
> > Rob G
> > [EMAIL PROTECTED]
>
> Good luck.
>
> - Bob
>
>


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Networking Questions

2004-04-10 Thread Bob Johnson
On Saturday 10 April 2004 01:54 pm, Rob G <"Rob G" 
<[EMAIL PROTECTED]>> wrote:
> Hi All,
>
> I am new to the list, but I have tried researching the archives and
> couldn't find exactly what I am looking for and would like your
> opinion on how to do this:
>
> I have a 4Meg DSL connection with Multiple Static IPs.
>
> 69.63.33.### is my main IP that my router or System that does
> authentication will always get.
>
> 209.213.231.###/29 is my block of 8 other IP's that route to my main
> IP.
>

If your ISP is already routing these numbers to your main IP, then it 
should be easy.

> Right now I have my fsb box running mail/web and other services and I
> would like it to do the routing for my internal network of 4 or so
> computers.  I have a Hub that I can plug these other systems in to so
> that is not a problem.
>

I believe all you need to do is set gateway_enable="YES" in rc.conf (and 
reboot -- I don't know the manual way to accomplish that).  I think 
your box will automatically figure out which IP numbers are on which 
interface, and forward appropriately.  If not, you will need to set up 
a static route to tell it which interface the 209.../29 subnet is on, 
since it won't use the default gateway to the Internet.  Manually, you 
use the route(8) command to do this.  I think you can automate it with 
the static_routes="" entry in rc.conf, but I don't know the syntax.

> What would be the best way to use my block of statics and have them
> Route properly through my BSD box.  I would like to stay away from
> NAT as I know it right now, broadband router, as it causes havoc with
> my filesharing programs and would like to have my other systems
> pretty much open to the internet and then start locking them down as
> need be once I get them seeing the outside world and the outside
> world seeing them.

You shouldn't need to run a real router daemon for this simple 
situation, so you don't need to mess with router_enable in rc.conf.

Now that I've typed all this, it occurs to me that the better answer is 
for you to read the appropriate section of the FreeBSD Handbook:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-routing.html

>
> Regards,
> Rob G
> [EMAIL PROTECTED]

Good luck.

- Bob
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Networking Questions

2004-04-10 Thread Rob G
Hi All,

I am new to the list, but I have tried researching the archives and couldn't
find exactly what I am looking for and would like your opinion on how to do
this:

I have a 4Meg DSL connection with Multiple Static IPs.

69.63.33.### is my main IP that my router or System that does authentication
will always get.

209.213.231.###/29 is my block of 8 other IP's that route to my main IP.

Right now I have my fsb box running mail/web and other services and I would
like it to do the routing for my internal network of 4 or so computers.  I
have a Hub that I can plug these other systems in to so that is not a
problem.

What would be the best way to use my block of statics and have them Route
properly through my BSD box.  I would like to stay away from NAT as I know
it right now, broadband router, as it causes havoc with my filesharing
programs and would like to have my other systems pretty much open to the
internet and then start locking them down as need be once I get them seeing
the outside world and the outside world seeing them.

Regards,
Rob G
[EMAIL PROTECTED]


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


RE: Networking Questions

2003-12-05 Thread Richard Bejtlich
Hello Bryan Cassidy,

You might save yourself some trouble by buying a very
cheap ready-to-go appliance router like the NR041 for
$32.99 from Buy.com:

http://www.buy.com/retail/product_jump.asp?sku=10329936&SearchEngine=ya&SearchTerm=10329936&Type=1103&Category=Comp&dcaid=17194

I carry one to client sites as it's no bigger than a
standard 4 port hub.  (I build and use my own FreeBSD
gateways at home.)  I think you might prefer using a
dedicated device until you're more comfortable with
networking.

Sincerely,

Richard Bejtlich
http://taosecurity.com

__
Do you Yahoo!?
Free Pop-Up Blocker - Get it now
http://companion.yahoo.com/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Networking Questions

2003-12-05 Thread Bryan Cassidy
OK. The PC I am using now is the one I like to do all my work
on but want to get a router. I was told to find a older PC and
set it up as a router. Well, I have the extra PC now and I
just need to set it up. My main PC runs apache webserver, php,
squirrelmail, courier-imap, cups and a few other things. I
have never done any kind of networking like this but could
some people explain some things for me so I can have them
cleared up so the next time I'm reading a doc I can understand
what's going on? Just simple/or complex things about networking
would work. Like, gatewa, router, etc. I think you get the
idea. I think I know how this should be setup but please tell
me if this is wrong on how to setup this other pc as a router.
I have my main PC connected directly to the DSL right now. I
take the other PC place it somewhere close to this machine.
Put another (which would make 2 NICs in the router PC) Hook
the DSL cable into one of the NICs on the router, run it to
the DSL modem it's self, then connect another DSL cable into
the other NIC on the router machine and plug it into my main
PC. If this isn't correct please correct me. I would really
appreciate it. I have everything I just need to hook it up and
know where to get started on setting this machine up correctly
and have my main pc still run the same way it is doing now
with all the services I have running.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"