[Novalug] interface to interface proxy
Jon LaBadie
novalugml@jgcomp.com
Thu Mar 26 17:40:38 EDT 2015
On Fri, Mar 27, 2015 at 10:30:34AM +1300, Mark Smith via Novalug wrote:
> i decided to run an experiment. i setup a vbox instance and loaded
> three interfaces onto it.
>
> eth0 - bridged for my connectivity pleasure
> eth1 - host-only over vboxnet0
> eth2 - host-only over vboxnet1
>
> i setup the bridge on my guest:
>
> brctl addbr br0
> brctl addif eth1
> brctl addif eth2
addif requires a bridge name to add to.
brctl addif br0 eth1
> ifconfig eth1 inet 0.0.0.0
> ifconfig eth2 inet 0.0.0.0
> ifconfig br0 inet 0.0.0.0 up
>
> then i ran a sniffer and a transmitter on my host like so:
>
> tcpreplay -M 1 -i vboxnet0 myfile.pcap
> tcpdump -i vboxnet1 -n
>
> i saw none of the expected traffic. it could just be that i was horking
> up with the vbox interfaces.
>
> is this correct? if so, what did i do wrong?
>
>
> On Thu, Mar 26, 2015 at 09:31:23PM +1300, Mark Smith via Novalug wrote:
> > damn. that sounds exactly what i want. good job Derek!!
> >
> > On Thu, Mar 26, 2015 at 12:59:58AM -0400, Derek LaHousse wrote:
> > > Sounds like you want a bridge. bridge control (brctl). But that will
> > > only get you the equivalent of a switch.
> > >
> > > On Wed, Mar 25, 2015 at 11:43 PM, Mark Smith via Novalug
> > > <novalug@firemountain.net> wrote:
> > > > does anyone know of a proxy to proxy interface that i can run on a
> > > > computer such that all packets arriving on one interface are immediately
> > > > sent directly to another interface? logically, it would be like this:
> > > >
> > > > proxy -i eth1 -o eth2
> > > >
> > > > the ethernet devices should not have an assigned address.
> > > >
> > > > can i use iptables to do this?
> > > >
> > > > --
> > > > Hei konā mai
> > > > Mark Smith
> > > > mark@winksmith.com
> > > > **********************************************************************
> > > > The Novalug mailing list is hosted by firemountain.net.
> > > >
> > > > To unsubscribe or change delivery options:
> > > > http://www.firemountain.net/mailman/listinfo/novalug
> >
> > --
> > Hei konā mai
> > Mark Smith
> > mark@winksmith.com
> > **********************************************************************
> > The Novalug mailing list is hosted by firemountain.net.
> >
> > To unsubscribe or change delivery options:
> > http://www.firemountain.net/mailman/listinfo/novalug
>
> --
> Hei konā mai
> Mark Smith
> mark@winksmith.com
> **********************************************************************
> The Novalug mailing list is hosted by firemountain.net.
>
> To unsubscribe or change delivery options:
> http://www.firemountain.net/mailman/listinfo/novalug
>>> End of included message <<<
--
Jon H. LaBadie novalugml@jgcomp.com
11226 South Shore Rd (703) 787-0688 (H)
Reston, VA 20190 (703) 935-6720 (C)
More information about the Novalug
mailing list