From: Krzysztof Halasa <khc@pm.waw.pl>
To: "Eble, Dan" <DanE@aiinet.com>
Cc: "'netdev@oss.sgi.com'" <netdev@oss.sgi.com>
Subject: Re: RFC: Cisco HDLC bridging
Date: Fri, 11 Jun 2004 23:29:08 +0200 [thread overview]
Message-ID: <m3vfhxkcm3.fsf@defiant.pm.waw.pl> (raw)
In-Reply-To: <C060DFCD9697A842B3189B458524FDC205D2C3@AIMAIL1.ai.aiinet.com> (Dan Eble's message of "Fri, 11 Jun 2004 09:01:20 -0400")
"Eble, Dan" <DanE@aiinet.com> writes:
> I am about to implement Ethernet/802.3 over Cisco HDLC. My plan is to
> enhance hdlc_cisco.c to provide a new ethernet-like device, "cbeX"
> (cisco-bridged ethernet),
I would rather call it "hdlcXsomething", "cbeX" would not be very
obvious to newcomers. And I would make it conditional (for example,
with CONFIG_ option _and_ runtime ioctl creating the slave device).
> corresponding to the existing "hdlcX" device that
> encapsulates the ethernet frames. The "cbeX" device will suddenly appear
> when "sethdlc hdlcX cisco ..." is run, and disappear when "hdlcX" is taken
> out of Cisco mode.
How are the packets encapsulated? What about 802.1q VLANs?
> Using a separate device for the bridged frames provides a way to get
> ethernet-like behavior without obscuring the Cisco nature of "hdlcX". For
> example, a tcpdump of "hdlcX" would still show SLARP keepalive frames and
> other ciscoey stuff.
... + Ethernet traffic with Cisco HDLC headers, that's it.
However I don't feel like convinced to use the second network device.
Certainly there is no problem with tcpdump/libpcap, we could have
Cisco hdlcX device with SLARPs, Ethernet framing, regular IPv4/6
and anything we want.
The only problem I can see (a serious one, though) is the protocol
"routing" in Linux. If we "ip addr add" IP address to hdlcX, does
it mean we want native IP or IP/Ethernet? It would be nice to be able
to:
ifconfig hdlc0 10.0.0.1/24 hw cisco-hdlc
ifconfig hdlc0 10.0.1.1/24 hw ether
at a time.
The same applies to Frame Relay (we have pvcX and ethpvcX).
--
Krzysztof Halasa, B*FH
next prev parent reply other threads:[~2004-06-11 21:29 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-06-11 13:01 RFC: Cisco HDLC bridging Eble, Dan
2004-06-11 21:29 ` Krzysztof Halasa [this message]
-- strict thread matches above, loose matches on Subject: below --
2004-06-14 13:40 Eble, Dan
2004-06-16 11:13 ` Krzysztof Halasa
2004-06-16 12:58 Eble, Dan
2004-06-16 22:49 ` Krzysztof Halasa
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m3vfhxkcm3.fsf@defiant.pm.waw.pl \
--to=khc@pm.waw.pl \
--cc=DanE@aiinet.com \
--cc=netdev@oss.sgi.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).