FreeBSD - Wireles Ad-hoc Networking with IP alias


 
Thread Tools Search this Thread
Operating Systems BSD FreeBSD - Wireles Ad-hoc Networking with IP alias
# 1  
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..
Login or Register to Ask a Question

Previous Thread | Next Thread

6 More Discussions You Might Find Interesting

1. 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

2. 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

3. 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

4. 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

5. 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

6. 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
Login or Register to Ask a Question