LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   how to test network programs with out LAN connectivity on FC5 (https://www.linuxquestions.org/questions/linux-networking-3/how-to-test-network-programs-with-out-lan-connectivity-on-fc5-526277/)

morningkiran 02-06-2007 11:44 PM

how to test network programs with out LAN connectivity on FC5
 
Hi all,
I have been running FC5 for about 3 months and graduated from school. The problem is now that I dont have LAN connectivity is there a way to run the network programs that involve multiple IP addresses.Like binding a server to one IP and clinet to one IP. do I need to buy any hard ware? Please help.
Thanks in advance,
udai.

doc.nice 02-07-2007 01:15 AM

using the tun/tap devices you can do this. those devices simulate a network device, but pipe the data to a socket etc. see the documentation in the kernel sources (/usr/src/linux/Documentation/networking/tuntap.txt)

HTH,
Flo

morningkiran 02-07-2007 01:41 AM

Thanks for reply
 
Hi, Thanks for reply, it worked.
I already have a ethernet interface on my pc. can I create multiple ip addresses on my pc and simulate a network. can I create two taps for two different IP addresses.

Thanks,
Udai.

doc.nice 02-07-2007 02:38 AM

yes, you can, but don't ask me how, i just "got to know" tun/tap by using virtual machines, sorry...
maybe another user here?


All times are GMT -5. The time now is 06:11 AM.