From: Chris Friesen <cfriesen@nortelnetworks.com>
To: Stephan von Krawczynski <skraw@ithnet.com>
Cc: linux-kernel <linux-kernel@vger.kernel.org>
Subject: Re: How to configure an ethernet dev as PtP ?
Date: Tue, 15 Apr 2003 10:50:52 -0400 [thread overview]
Message-ID: <3E9C1C4C.2030406@nortelnetworks.com> (raw)
In-Reply-To: 20030415102109.4802ddd0.skraw@ithnet.com
Stephan von Krawczynski wrote:
> Hello all,
>
> I tried to configure an ethernet device as a pointopoint link recently, just to
> find out that this does not work as one would expect via:
>
> ifconfig eth0 192.168.1.1 pointopoint 192.168.5.1 up
How about:
/sbin/ip ad ad 192.168.1.1 peer 192.168.5.1 dev eth0
this gives:
# /sbin/ip ad
1: lo: <LOOPBACK,UP> mtu 16436 qdisc noqueue
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 brd 127.255.255.255 scope host lo
2: eth0: <BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast qlen 100
link/ether 00:06:5b:a2:b3:8a brd ff:ff:ff:ff:ff:ff
inet 192.168.1.1 peer 192.168.5.1/32 scope global eth0
Does that do what you want?
Chris
--
Chris Friesen | MailStop: 043/33/F10
Nortel Networks | work: (613) 765-0557
3500 Carling Avenue | fax: (613) 765-2986
Nepean, ON K2H 8E9 Canada | email: cfriesen@nortelnetworks.com
prev parent reply other threads:[~2003-04-15 14:39 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-04-15 8:21 How to configure an ethernet dev as PtP ? Stephan von Krawczynski
2003-04-15 12:10 ` Richard B. Johnson
2003-04-15 13:12 ` Stephan von Krawczynski
2003-04-15 14:50 ` Chris Friesen [this message]
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=3E9C1C4C.2030406@nortelnetworks.com \
--to=cfriesen@nortelnetworks.com \
--cc=linux-kernel@vger.kernel.org \
--cc=skraw@ithnet.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