All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ramin Dousti <ramin@cannon.eng.us.uu.net>
To: netfilter@lists.netfilter.org
Subject: Re: Not quite understanding DNAT
Date: Thu, 24 Jul 2003 13:47:40 -0400	[thread overview]
Message-ID: <20030724174740.GB26983@cannon.eng.us.uu.net> (raw)
In-Reply-To: <7C9884991ADAE0479C14F10C858BCDF5122E08@alderaan.smgtec.com>

> 'ip addr' would look like this to me:
> 
> 1: eth0: <BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast qlen 100
>     link/ether 00:00:00:00:00:00 brd ff:ff:ff:ff:ff:ff
> inet 192.168.1.1/27 brd 192.168.1.31 scope global eth0
> inet 192.168.1.2/27 brd 192.168.1.31 scope global secondary eth0:0
> inet 192.168.1.3/27 brd 192.168.1.31 scope global secondary eth0:1
> inet 192.168.1.4/27 brd 192.168.1.31 scope global secondary eth0:2
> ...
> inet 192.168.1.30/27 brd 192.168.1.31 scope global secondary eth0:30

Absolutely. The "ip" utility must be used instead of "ifconfig", "route",
"arp" and other obsolete utilities.

Another note is that you can change the name of the interface with:

ip link set DEVICE name NEW-NAME

which will get rid of the ':' notation. This is most of the time the
casue of the problem with some applications...

Ramin


  reply	other threads:[~2003-07-24 17:47 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-07-24 17:14 Not quite understanding DNAT Daniel Chemko
2003-07-24 17:47 ` Ramin Dousti [this message]
  -- strict thread matches above, loose matches on Subject: below --
2003-07-24 22:06 George Vieira
2003-07-24  8:29 DNAT question Philip Craig
2003-07-24  8:56 ` Rio Martin.
2003-07-24 16:22   ` Not quite understanding DNAT Coutts, Ashe (Testing Account)
2003-07-24 16:43     ` Aldo S. Lagana
2003-07-25  0:14     ` Philip Craig
2003-07-25  9:47     ` Chris Wilson
2003-07-25 10:10       ` Cedric Blancher

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=20030724174740.GB26983@cannon.eng.us.uu.net \
    --to=ramin@cannon.eng.us.uu.net \
    --cc=netfilter@lists.netfilter.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.