Networking Forums  

Go Back   Networking Forums > Networking Newsgroups > Linux Networking

IPv6 & virtual nic's - newbie question

Reply
 
Thread Tools Display Modes
  #1  
Old 11-10-2003, 12:14 PM
Default IPv6 & virtual nic's - newbie question



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?


dave
Reply With Quote
  #2  
Old 11-10-2003, 08:42 PM
Andree Toonk
Guest
 
Posts: n/a
Default Re: IPv6 & virtual nic's - newbie question

"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
  #3  
Old 11-10-2003, 10:20 PM
dave
Guest
 
Posts: n/a
Default Re: IPv6 & virtual nic's - newbie question

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
  #4  
Old 11-10-2003, 11:20 PM
James Knott
Guest
 
Posts: n/a
Default Re: IPv6 & virtual nic's - newbie question

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
  #5  
Old 11-11-2003, 03:50 PM
dave
Guest
 
Posts: n/a
Default Re: IPv6 & virtual nic's - newbie question

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
  #6  
Old 11-11-2003, 10:45 PM
James Knott
Guest
 
Posts: n/a
Default Re: IPv6 & virtual nic's - newbie question

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

Tags
ipv6, newbie, nic, question, virtual

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
Forum Jump


All times are GMT. The time now is 12:01 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.