Re: Routing on one NIC?

2007-03-26 Thread Lachlan Gunn

Lachian, hopefully you have a manageable switch that can create VLANs.
 You will have to create a VLAN for each of your subnets and add the
appropriate ports into those VLANs.  I would suggest that you use
something other than VLAN 1 (default VLAN) for your two VLANs.  On the
port that is going to connect to your OpenBSD box, the port will be a
member of both VLANs and turn on VLAN tagging (802.1Q) on the switch.
If it is a Cisco switch using dot1q not ISL.  You will have to turn on
IP Forwarding, configure the VLANs, and enable VLAN tagging on the
OpenBSD box.


I'm only a home user, I don't have anything fancy.  Thanks for your
advice, though.


Hopefully, this is only a temporary solution.  Network traffic on that NIC
will see twice as much as normal, since it receives and sends it out the
same NIC.


As I said before, I'm only a home user; I could probably use 10BASE-T
without having performance problems.


If you do not use VLANs, you will see broadcast coming from both of
your subnets.  If you bring up a sniffer, you should see them.  Also,
if the employees are clever they can just change their IP Address to
become part of the new network and by pass any firewalling you might
be doing on your OpenBSD box.  :(


This is only a NAT box.  It is not intended to provide any extra
security, I am only using this type of setup for convenience (ie.
anything to avoid using a consumer router interface without buying new
hardware) and educational purposes.

--
Thanks,
Lachlan



Routing on one NIC?

2007-03-25 Thread Lachlan Gunn

Hi,

What would be the recommended way to route traffic between two subnets
with only one NIC?

I currently have one NIC plugged into a switch that contains two
subnets.  I would like the NIC to have two IP addresses, one on each
subnet, that it will route traffic between.  I have tried creating an
alias, but pf didn't like that.

Any help would be greatly appreciated.
--
Thanks,
Lachlan



Virtualisation on OpenBSD?

2007-01-24 Thread Lachlan Gunn

Sorry, accidentally sent that to the wrong address.


vmware could run on OpenBSD if you have linux compatibility turned on i think


It uses a number of kernel modules, so I doubt it.  However, the
source may be available, so someone could probably try to implement
similar functionality.

--
Lachlan



Re: Virtualisation on OpenBSD?

2007-01-24 Thread Lachlan Gunn

I tried looking for source but was unable, vmware is a closed source
as far as i can tell(please correct me if im wrong, as i like to get
hold of the source) when i was looking for it online you have to
download the binarys, and you have to email in for a serial number to
use it, they also have higher up pay-for versions, with more features


It is closed-source, however source to the kernel modules is
distributed with the binaries, even if not with a free licence.  I
imagine that this would help with reverse engineering the driver,
although I'm not sure whether the use of this as an aid to
reverse-engineering the driver would be allowable under project
policies.

--
Lachlan



NIS Problems

2006-01-07 Thread Lachlan Gunn
Hi,
I'm setting up NIS for my home network using OpenBSD on the
server-side.  However, when I try to make changes (ie. to the
passwords) on the client side (Gentoo Linux) it responds with an error
(without any information on what that error is).  Upon attempting to
do the same operation on the OpenBSD box, it responds with an error
telling me Couldn't change YP password information..

Am I understanding correctly that I am supposed to be using chsh -y?
chsh without the -y only changes the local data without modifying the
NIS-stored data.
--
Thanks,
Lachlan