Sean Boudreau(deleted)
07/02/2013 9:33 AM
post102847
|
On Sat, Jun 29, 2013 at 09:47:52AM +0200, Armin Steinhoff wrote:
> Sean Boudreau wrote:
> > On Fri, Jun 28, 2013 at 02:37:00PM -0400, Armin Steinhoff wrote:
> >> Hi All,
> >>
> >> is there a way to assign a TAP device to an individual ethernet interface ??
> >>
> > No. The question doesn't make much sense.
>
> you mean
>
> ifconfig tap0 create
> ifconfig tap0 up
> ifconfig tap0 11:22:33:44:55:66
> ifconfig tap0 11:22:33:44:55:66 active
Yes, that makes sense. Here you're manipulating
the pseudo tap interface, not a real ethernet interface.
>
> makes no sense ? Or do I have to assign an IP address??
Only if you want to do IP over it.
>
> I want simply to send/receive by one of the dual ethernet interface!
>
> What semantic have the "pre-created" tap0 to tap3 devices ??
> Why is it not possible to set the O_NONBLOCK flag on a TAP device ??
It is possible.
>
> --Armin
>
> > When a tap is
> > configured, there's a /dev/tapX and a corresponding tapX
> > pseudo interface. Packets written to /dev/tapX appear
> > as if they were received on input on the tapX interface,
> > packets that arrive for transmit on the tapX interface can
> > be read() off the /dev/tapX device. Normal ip routing
> > occurs on packets to / from the tapX interface.
> >
> > Regards,
> >
> > -seanb
> >
> >
> >
> >
> >
> > _______________________________________________
> >
> > Networking Drivers
> > http://community.qnx.com/sf/go/post102779
> > To cancel your subscription to this discussion, please e-mail drivers-networking-unsubscribe@community.qnx.com
> >
>
>
>
>
>
> _______________________________________________
>
> Networking Drivers
> http://community.qnx.com/sf/go/post102790
> To cancel your subscription to this discussion, please e-mail drivers-networking-unsubscribe@community.qnx.com
|
|
|