Sponsored Content
Special Forums IP Networking IPv6 address block assign/associate with an interface Post 302899794 by Corona688 on Thursday 1st of May 2014 05:09:18 PM
Old 05-01-2014
Hm. There are plenty of solutions for this but no portable ones that I know of. It's not something a generic socket's really designed to do. Network devices filter out traffic that's not theirs, all the way down at the hardware level.

I foresee another problem. In the old days, a hub just copied traffic to everyone and let them sort it out (which is why network cards often filter out traffic for others in hardware), but most networks these days are switched. A switch wouldn't bother sending you a copy. Any traffic that doesn't have you as the destination mac address, you just wouldn't get. (except for broadcasts and the like of course.)
 

10 More Discussions You Might Find Interesting

1. Programming

validate IPV6 address in windows using c++

I know there is a function inet_tpon for unix platforms to validate ipv6 addresses.But i need an equivalent of windows.When i use this function with the header file <winsock2.h> the visual studio 2005 on win2003 issues an error saying identifier not found :confused: (3 Replies)
Discussion started by: guru13
3 Replies

2. Solaris

How to assign MAC address to N/W interface in solaris

I m having interface ce0 ce1 and its sub interfaces for that. I want to give MAC addresses for the same. How will I assign it. Please give solution for the same (4 Replies)
Discussion started by: sunray
4 Replies

3. IP Networking

assign mac address for virtual interface eth1:0

Hi , by default the physical interface (eth1) and virtual interface eth1:0 will be having same mac address, is there any way we can assign separate mac addresses for both the interfaces. would some one help me out in this. Thanks Gopi (1 Reply)
Discussion started by: Gopi Krishna P
1 Replies

4. Solaris

IPMP + IPv6 test address

Hi, inspired by this article, I decided to implement IPMP + IPv6 in Solaris 10. It worked for me only this way: 1. Setup # cat /etc/hostname* 10.23.10.113/24 broadcast + group data failover up <- hostname.e1000g0 0.0.0.0/24 broadcast + group data -failover deprecated up standby... (3 Replies)
Discussion started by: masloff
3 Replies

5. Solaris

Solaris 19 10/09 ipv6 interface configuration

Hi, anyone has had experience in a static setting an IPv6 interface?, I'm trying accordance with the admin guide (ipv6 network configuration tasks), configure one interface in the server, actually i can do ping to my default gateway and access the Internet in IPv6, the specific point is however,... (3 Replies)
Discussion started by: pabloluja
3 Replies

6. BSD

Link Local IPv6 Address

Hi, Am using FreeBSD7.4/i386 During IPv6 configuration, I added the following in rc.conf as Restarted IPv6 network using /etc/rc.d/network_ipv6 restart.. My problem is I need to set link local IPv6 address auto-configured.. Is my proceeding right?? I feel something missing to make... (0 Replies)
Discussion started by: Priya Amaresh
0 Replies

7. Shell Programming and Scripting

How to extract IPv6 address from string?

Hi All, Would anyone know how to modify the below, so only the IPv6 address (red) is printed, please? (in other words, what's between inet6 and the / sign) ipv6=`/sbin/ifconfig lo0:5 inet6 | grep 'inet6'` print $ipv6 Currently the output of the above script is: inet6... (7 Replies)
Discussion started by: chatguy
7 Replies

8. UNIX for Advanced & Expert Users

C program to detect duplicate ip address if any after assigning ip address to ethernet interface

Hi , Could someone let me know how to detect duplicate ip address after assigning ip address to ethernet interface using c program (3 Replies)
Discussion started by: Gopi Krishna P
3 Replies

9. UNIX for Dummies Questions & Answers

Assigning ipv6 to bonding interface - getting old as well as changed ipv6 in ifconfig output

Hi, I have created a bonding bond1 interface with 6 Eth , mode=4. Recently i have changed my old ipv6 to new one and tried to restart as well as reload network service. Post which i can see old as well as changed ipv6 in ifconfig command output. Below are few files and command output for your... (1 Reply)
Discussion started by: omkar.jadhav
1 Replies

10. Solaris

How to assign IPv4 and IPv6 addresses with same interface?

Hello dears how to assign IPv4 and IPv6 addresses with same interface on solaris 10 (1 Reply)
Discussion started by: ttashman
1 Replies
sock2path(4)							   File Formats 						      sock2path(4)

NAME
sock2path - socket mapping file that maps sockets to transport providers SYNOPSIS
/etc/sock2path DESCRIPTION
The socket mapping file, /etc/sock2path, is a system file that contains the mappings between the socket(3SOCKET) call parameters and the transport provider driver. Its format is described on the soconfig(1M) manual page. The init(1M) utility uses the soconfig utility with the sock2path file during the boot sequence. EXAMPLES
Example 1 An Example of the sock2path File The following is an example of a sock2path file: # Family Type Protocol Module | Path 2 2 0 tcp 2 2 6 tcp 26 2 0 tcp 26 2 6 tcp 2 1 0 udp 2 1 17 udp 26 1 0 udp 26 1 17 udp 1 2 0 /dev/ticotsord 1 6 0 /dev/ticotsord 1 1 0 /dev/ticlts 2 4 0 icmp 26 4 0 icmp 24 4 0 rts 27 4 2 /dev/keysock SEE ALSO
init(1M), soconfig(1M), socket(3SOCKET) SunOS 5.11 4 Nov 2008 sock2path(4)
All times are GMT -4. The time now is 07:48 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy