Networking Forums

Networking Forums > Computer Networking > Linux Networking > IPv6 & virtual nic's - newbie question

Reply
Thread Tools Display Modes

IPv6 & virtual nic's - newbie question

 
 
dave
Guest
Posts: n/a

 
      11-10-2003, 11:14 AM
Since I can get a huge block of IPv6 addresses from myISP I was thinking
that there are advantages. I can assign an IP address to each of my
clients: say 1000 or so and deliver custom www/whatever to each of them.

Obviously 1000 nics would be insane so I was wondering about creating
eth0:1->eth0:1000 using aliasing. Is this practical & what do ISP's etc do
if adminitering large numbers of IP addresses from 1 machine?
 
Reply With Quote
 
 
 
 
Andree Toonk
Guest
Posts: n/a

 
      11-10-2003, 07:42 PM
"dave" <(E-Mail Removed)> wrote in message
news:3faf80d0$0$52883$(E-Mail Removed).. .
>
> Obviously 1000 nics would be insane so I was wondering about creating
> eth0:1->eth0:1000 using aliasing. Is this practical & what do ISP's etc do
> if adminitering large numbers of IP addresses from 1 machine?


The great thing is, you donīt have to create virtual interfaces.
you can configure multiple addresses on the same interface.
thereīs always the link local address fe80::xxx and one or more global
addresses.
see this one:
eth0 Link encap:Ethernet HWaddr 00:02:44:23:45:3B
inet addr:145.89.81.25 Bcast:145.89.81.255 Mask:255.255.255.0
inet6 addr: 2001:888:1357:0:202:44ff:fe23:453b/64 Scope:Global
inet6 addr: 3ffe:8114:2000:1394:202:44ff:fe23:453b/64 Scope:Global
inet6 addr: 2001:888:1357::43/64 Scope:Global
inet6 addr: fe80::202:44ff:fe23:453b/10 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:264970 errors:22 dropped:0 overruns:0 frame:0
TX packets:11835 errors:23 dropped:0 overruns:0 carrier:46
collisions:94 txqueuelen:100
RX bytes:17954746 (17.1 Mb) TX bytes:1067775 (1.0 Mb)
Interrupt:11 Base address:0xfc00

So you donīt have to create sub/virtual interfaces.
I donīt think ISPīs would filter this, why would they...
they assigned the ipv6 space to you (probably a /48) so it woulkd be weird
to filter this.

Goodluck,
-Andree


 
Reply With Quote
 
dave
Guest
Posts: n/a

 
      11-10-2003, 09:20 PM
Andree Toonk wrote:

> The great thing is, you donīt have to create virtual interfaces.
> you can configure multiple addresses on the same interface.
> thereīs always the link local address fe80::xxx and one or more global
> addresses.
> see this one:
> eth0 Link encap:Ethernet HWaddr 00:02:44:23:45:3B
> inet addr:145.89.81.25 Bcast:145.89.81.255 Mask:255.255.255.0
> inet6 addr: 2001:888:1357:0:202:44ff:fe23:453b/64 Scope:Global
> inet6 addr: 3ffe:8114:2000:1394:202:44ff:fe23:453b/64
> Scope:Global inet6 addr: 2001:888:1357::43/64 Scope:Global
> inet6 addr: fe80::202:44ff:fe23:453b/10 Scope:Link
> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
> RX packets:264970 errors:22 dropped:0 overruns:0 frame:0
> TX packets:11835 errors:23 dropped:0 overruns:0 carrier:46
> collisions:94 txqueuelen:100
> RX bytes:17954746 (17.1 Mb) TX bytes:1067775 (1.0 Mb)
> Interrupt:11 Base address:0xfc00
>


ah! thanks
So in my example I 'merely' have to have 1000 such entries in the /etc
networking/interfaces file for that interface, or do I have to specify them
individually or is there some kind of snazzy range syntax meaning 'use this
range for this interface'?
 
Reply With Quote
 
James Knott
Guest
Posts: n/a

 
      11-10-2003, 10:20 PM
dave wrote:

> Since I can get a huge block of IPv6 addresses from myISP I was thinking
> that there are advantages. I can assign an IP address to each of my
> clients: say 1000 or so and deliver custom www/whatever to each of them.
>
> Obviously 1000 nics would be insane so I was wondering about creating
> eth0:1->eth0:1000 using aliasing. Is this practical & what do ISP's etc do
> if adminitering large numbers of IP addresses from 1 machine?


One thing to consider, is who'd be accessing those addresses? If someone
out on the IPv4 internet, they'd have to map all those addresses into IPv4,
which means you won't likely be able to use them all.

--

Fundamentalism is fundamentally wrong.

To reply to this message, replace everything to the left of "@" with
james.knott.
 
Reply With Quote
 
dave
Guest
Posts: n/a

 
      11-11-2003, 02:50 PM
James Knott wrote:

> One thing to consider, is who'd be accessing those addresses? If someone
> out on the IPv4 internet, they'd have to map all those addresses into
> IPv4, which means you won't likely be able to use them all.
>

Good point. I think most of my punters woul be using IE (*sigh*) which AFAIK
is ipv6 enabled so I'm assuming it would be possible to point them at
apache (whch is IPv^ enabled).
Not sure about MS VirusExpress though
 
Reply With Quote
 
James Knott
Guest
Posts: n/a

 
      11-11-2003, 09:45 PM
dave wrote:

> James Knott wrote:
>
>> One thing to consider, is who'd be accessing those addresses? If someone
>> out on the IPv4 internet, they'd have to map all those addresses into
>> IPv4, which means you won't likely be able to use them all.
>>

> Good point. I think most of my punters woul be using IE (*sigh*) which
> AFAIK is ipv6 enabled so I'm assuming it would be possible to point them
> at apache (whch is IPv^ enabled).
> Not sure about MS VirusExpress though


Regardless if they're v6 enabled or not, if they reach you via IPv4, they
won't be able to access all those addresses, unless other means, such as a
VPN are employed.
--

Fundamentalism is fundamentally wrong.

To reply to this message, replace everything to the left of "@" with
james.knott.
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
IPSec-tools configuration question (racood daemon) and IPv6. D. Stussy Linux Networking 0 12-01-2011 11:13 PM
IPV6 routing question Guus Ellenkamp Windows Networking 0 07-18-2008 05:18 AM
ipv6 proxy question ram Linux Networking 0 03-25-2005 01:31 AM
Virtual hosts + proxypass question Chris Stoddart Linux Networking 1 12-06-2004 10:56 AM
Virtual host question Ron Abramson Linux Networking 5 11-22-2004 01:43 PM



1 2 3 4 5 6 7 8 9 10 11