802.1q with vlan would work but it does not need to be that complicated. 
One way to do it is to configure the nodes on the same subnet to use the Linux 
(NIST NET) box as the router between the nodes. ARP may cause "short circuit" 
on the route. Set static route on each nodes (if you has small number of nodes) 
with low metric usually helps. This has been done in our lab.

If you have a lot of nodes on the network, a group of nodes of "A" - NIST - a 
group of nodes of "B", then configuring the NIST (linux laptop) interface with 
dual IP covering both subnets would do it. If you need this setup lives through 
system reboot, modify /etc/sysconfig/network-scripts/ifcfg-eth1 (or eth0 or 
other name depending on your system) into two files as attached and put "A" 
nodes in one subnet and "B" nodes in the other. Make sure the subnet mask is 
right for the subnet so that ARP will not go cross the subnet.

$ cat ifcfg-eth11
NETMASK=255.255.255.128
BOOTPROTO=none
DEVICE=eth1:1
IPADDR=10.16.12.1
TYPE=Ethernet
ONBOOT=yes
USERCTL=no
NETWORK=10.16.12.0
BROADCAST=10.16.12.127

$cat ifcfg-eth12
DEVICE=eth1:2
BOOTPROTO=none
ONBOOT=yes
IPADDR=10.16.12.129
TYPE=Ethernet
NETMASK=255.255.255.128
USERCTL=no
NETWORK=10.16.12.128
BROADCAST=10.16.12.255



-----------------------------------------------------------------------------------------------------------------------------------------------
Service Quality Matters. Test the performance and quality of your VoIP or IP 
video service at: 
http://www.TestYourVoIP.com
http://www.TestYourIPVideo.com-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Brazell, Nate 
(CTR)
Sent: Wednesday, October 11, 2006 1:13 PM
To: robin ?; nistnet@antd.nist.gov
Subject: RE: [nistnet] one NIC can run NIST NET?

This can be done with 802.1q trunking if both your nic and switch support it.  
You can assign a virtual interface to an existing one as follows:

ifconfig eth0:1 ip.add.res.here netmask 255.255.255.0

then see the man for vconfig to set the vlan tagging options.  Again, your nic 
and your switch have to support 802.1q.  Probably by the time your figure it 
all out you could just but a 30.00 PCMCIA card but for the sake of science this 
is good knowledge to have.  

Nate Brazell, RHCE



-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of robin ?
Sent: Wednesday, October 11, 2006 10:09 AM
To: nistnet@antd.nist.gov
Subject: [nistnet] one NIC can run NIST NET?

My boss asked me if one laptop with only one NIC(network interface card) could 
run NIST NET.I am not sure if Linux OS may route through only one NIC. anyone 
will tell me is it possible ? if it is ,then how can i configue route,thanks :)

_________________________________________________________________
与联机的朋友进行交流,请使用 MSN Messenger:  http://messenger.msn.com/cn  

_______________________________________________
nistnet mailing list
nistnet@antd.nist.gov
http://www-x.antd.nist.gov/mailman/listinfo/nistnet

_______________________________________________
nistnet mailing list
nistnet@antd.nist.gov
http://www-x.antd.nist.gov/mailman/listinfo/nistnet

_______________________________________________
nistnet mailing list
nistnet@antd.nist.gov
http://www-x.antd.nist.gov/mailman/listinfo/nistnet

Reply via email to