From: Michael Gale <michael@bluesuperman.com>
To: netfilter@lists.netfilter.org
Subject: Re: Two DHCP addresses on external interface
Date: Sun, 28 Dec 2003 17:26:39 -0700 [thread overview]
Message-ID: <20031228172639.4c0950c4.michael@bluesuperman.com> (raw)
In-Reply-To: <20031228170733.14a6c754.michael@bluesuperman.com>
Hello,
I think I have the answer, first I will find out the MAC address of my
PS2 (packet sniffer) and then use dhcpcd w/ -I:
--snip-- man dhcpcd
-I <ClientID>
Specifies the client identifier string. dhcpcd uses the
default client identifier (MAC address of the network
interface) if it is not specified.
--snip--
I will specify the MAC of my PS2 ... then I can DNAT the traffic back
and forth to and from the PS2 :)
Oh ... I think it will work :)
Michael.
On Sun, 28 Dec 2003 17:07:33 -0700
Michael Gale <michael@bluesuperman.com> wrote:
> Hello,
>
> I have a strange question, right now I have a firewall box at
> home and
> behind it is my web, mail and FTP server.
>
> Plus the rest of my computers and my wife's PC.
>
>
> I got a PS2 for Christmas ... I know I will never grow up really :)
>
> So I want to play online but it uses strange ports and they do not
> seem to be listed anywhere. Plus I can not host any games if I am
> behind a firewall unless I forward connections on ports about 1024 to
> the PS2 IP which could break FTP and other things.
>
> So my ISP provides a second IP free of charge :0 so I have them
> provide me with one. So now I can plug two PC's into a HUB and the
> cable modem into the HUB and each PC gets it's own IP via DHCP.
>
> I would like to have my firewall get both IP's then I would be able to
>
> have some control as to what packets go to and from the PC also I can
> do some bandwidth monitoring.
>
> I have used virtual IP's on linux boxes before with no problems but
> can I have a box get both IP's via DHCP ???
>
> Right now it gets one:
> /sbin/dhcpcd -t 60 -h CO -d eth0
>
> I tried to get a second one by:
> /sbin/dhcpcd -t 60 -h CO -d eth0:1
>
> But it did not work :(
>
> .. any ideas ??? do I need to fact another MAC address ???? now I am
> thinking
>
>
> --
> Hand over the Slackware CD's and back AWAY from the computer, your
> geek rights have been revoked !!!
>
> Michael Gale
> Slackware user :)
> Bluesuperman.com
>
--
Hand over the Slackware CD's and back AWAY from the computer, your geek
rights have been revoked !!!
Michael Gale
Slackware user :)
Bluesuperman.com
next prev parent reply other threads:[~2003-12-29 0:26 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-12-29 0:07 Two DHCP addresses on external interface Michael Gale
2003-12-29 0:26 ` Michael Gale [this message]
2003-12-29 1:31 ` Antony Stone
2004-01-01 21:28 ` Michael Gale
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=20031228172639.4c0950c4.michael@bluesuperman.com \
--to=michael@bluesuperman.com \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox