Linux Advanced Routing and Traffic Control list
 help / color / mirror / Atom feed
From: "Chris Bolton" <cbolton@hirstanddanson.co.uk>
To: lartc@vger.kernel.org
Subject: FW: FW: [LARTC] Static ip addresses/aliases previously (my mistake) htb: class 10007 isn't work cons
Date: Tue, 06 Jul 2004 12:54:05 +0000	[thread overview]
Message-ID: <200407061256.i66CuJx62930@smtp.shellnet.co.uk> (raw)
In-Reply-To: <200407051616.i65GGcx94225@smtp.shellnet.co.uk>


>>eth1 & eth2 are both connected to the EN5861 router.  I've done that 
>>because I couldn't work out any other way to use the static IP address 
>>that out ISP have given us.
>>
>
>Aha, this is a config question.  You can just add as many ip addresses to
each physical card as you like.  I forget the exact syntax, but check man
pages for "ifconfig" and look for "aliases".

Right getting the hang of this now, managed to set up aliases for eth0 named
eth0:0 and eth0:1 with the correct Ip addresses but how can I route with
them? When I do something like ip route add default dev eth0:0 it complains
that it cant find eth0:0 as its not a real adapter.  I've been searching on
google to no avail and have come to a bit of a full stop.

Cheers.

_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

  parent reply	other threads:[~2004-07-06 12:54 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-07-05 16:14 [LARTC] Static ip addresses/aliases previously (my mistake) htb: class 10007 isn't work conserving ? Chris Bolton
2004-07-05 19:21 ` [LARTC] Static ip addresses/aliases previously (my mistake) htb: class 10007 isn't work conservi James Sneeringer
2004-07-06  7:22 ` FW: " Chris Bolton
2004-07-06 10:33 ` FW: [LARTC] Static ip addresses/aliases previously (my mistake) Ed Wildgoose
2004-07-06 12:54 ` Chris Bolton [this message]
2004-07-06 15:07 ` FW: " Ed Wildgoose
2004-07-06 15:52 ` FW: [LARTC] Static ip addresses/aliases previously (my mistake) htb: class 10007 isn't work cons James Sneeringer
2004-07-06 16:15 ` FW: " Chris Bolton

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=200407061256.i66CuJx62930@smtp.shellnet.co.uk \
    --to=cbolton@hirstanddanson.co.uk \
    --cc=lartc@vger.kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox