Sponsored Content
Operating Systems BSD FreeBSD - Wireles Ad-hoc Networking with IP alias Post 302531548 by Govindaraj on Friday 17th of June 2011 06:52:56 AM
Old 06-17-2011
FreeBSD - Wireles Ad-hoc Networking with IP alias

Hello Friends,
I'm a newbie to FreeBSD. Trying to implement a IEEE paper : Energy consumption models for ad-hoc terminals (Computers).

The test setup with 3 Computers & Wireless NIC goes as follows:

Transmitter (A) --------------- Forwarder (B) -------------- Receiver (C)
10.0.1.1/24 ------- 10.0.1.2/24 (10.0.2.2/24) ---------- 10.0.2.1/24

Here Laptop B acts as a forwarder. It has 1 wireless NIC. I use ip alias to create a virtual NIC to forward the data to receiver. But the Laptop B is not forwarding the packet.

My /etc.rc.conf file is as follows:

Laptop A (Transmitter):

Code:
wlans_ath0="wlan0"
create_args_wlan0="wlanmode adhoc"
ifconfig_wlan0="inet 10.0.1.1 netmask 255.255.255.0 ssid energy"

Laptop B (Forwarder):

Code:
wlans_ath0="wlan0"
create_args_wlan0="wlanmode adhoc"
ifconfig_wlan0="inet 10.0.1.1 netmask 255.255.255.0 ssid energy"
ifconfig_wlan0_alias0="inet 10.0.2.2  netmask 255.255.255.0 ssid energy"


Laptop C (Receiver):

Code:
wlans_ath0="wlan0"
create_args_wlan0="wlanmode adhoc"
ifconfig_wlan0="inet 10.0.2.1 netmask 255.255.255.0 ssid energy"

Can some one help me, why the Laptop B is not forwarding the packets? Thanks in advance.

Last edited by pludi; 06-17-2011 at 07:58 AM..
 

6 More Discussions You Might Find Interesting

1. IP Networking

Wireles Lan in SunOS 10???

Hi, i´d like to know is if posible to configure a Wireless Lan in Sun OS 10.0?? I´m trying but no results... Please, how could i get internet acess using a Wireless Lan or a sample lan, whith IP protocol? Maybe my Wireles Card Lan don´t has support driver for UNIX(DLINK 520+PCI Adapter), but... (1 Reply)
Discussion started by: marpin
1 Replies

2. Solaris

Wireles Lan...

Someone know how to configure a Wireles NetWork Card (PCI Adapter) on Solaris 10 OS? After install the correct driver, what must i have to do? I´m a client desktop and i´m obrigatory to put an IP to get conection whith Server... Thanks... Help me please... (0 Replies)
Discussion started by: marpin
0 Replies

3. Shell Programming and Scripting

Doubt in Ad-hoc reports and Mail

Hi all, 1. How to create ad-hoc reports using Shell Scripts? 2. How to create Shell Scripts for sending email to alert users for erroneous records? Thanks in advance. (1 Reply)
Discussion started by: sgunasekaran
1 Replies

4. Solaris

Looking for a compartable Solaris wireles router

I have SURFboard SB6120 Modem which is compartable with Unix and I would like a wireless router with comparable speed and security. I have been looking at the Linksys wireless WRT610N model but I don't know if it is compartable with Solaris. I have been researching but I have not come across any... (2 Replies)
Discussion started by: Tenyhwa
2 Replies

5. UNIX for Dummies Questions & Answers

Defining an alias FreeBSD

I have defined this alias as quick way to find out which mount point to use for a USB drive after inserting it: # alias da='dmesg | grep da | grep MB' However, when invoking it, it states the following: # da da: Command not found. Can someone explain what is the issue here and how it can be... (3 Replies)
Discussion started by: figaro
3 Replies

6. AIX

Networking Issues - Opera, FreeBSD, AIX

(1) Hi, Am working on FreeBSD 7.4/i386 and installed Opera 11.01 through ports collection manually... But when I run first time am getting "opera: cannot connect X server. Error: Unknown error: 0" What is this error all about???? Please help me to sort out this issue!!! (2) Hi, currently am... (12 Replies)
Discussion started by: Priya Amaresh
12 Replies
pcan(7D)							      Devices								  pcan(7D)

NAME
pcan - Cisco Aironet 802.11b wireless NIC driver DESCRIPTION
The pcan wireless NIC driver is a multi-threaded, loadable, clonable, GLDv3-based STREAMS driver. It supports the pccard and PCI/MiniPCI cards with the Cisco Aironet 802.11b chipset. For pccard, the driver works in both SPARC and x86 (32-bit/64-bit) modes. For PCI/MiniPCI card, the driver works in 32-bit x86 mode only. DRIVER CONFIGURATION
The pcan driver supports 802.11b data rates of 1, 2, 5.5 and 11 (Mbits/sec). The default is 11. The pcan driver supports BSS networks (also known as "ap" or "infrastructure" networks) and IBSS networks (also known as "ad-hoc" net- works). For authentication type, the pcan driver supports the "open" (or "open-system") mode. For encryption type, only WEP is currently supported. You perform configuration and administration tasks using the dladm(1M) and wificonfig(1M) utilities. FILES
/dev/pcan* Special character device. /kernel/drv/pcan 32-bit ELF kernel module (x86). /kernel/drv/amd64/pcan 64-bit ELF kernel module (x86). /kernel/drv/sparcv9/pcan 64-bit ELF kernel module (SPARC). ATTRIBUTES
See attributes(5) for a description of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SPARC, x86 | +-----------------------------+-----------------------------+ SEE ALSO
dladm(1M), wificonfig(1M), attributes(5), gld(7D) 802.11b Standard for Wireless Local Area Networks (WLANs) - IEEE SunOS 5.11 24 Jan 2007 pcan(7D)
All times are GMT -4. The time now is 05:22 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy