View Single Post
  #2   (View Single Post)  
Old 24th August 2011
ocicat ocicat is offline
Administrator
 
Join Date: Apr 2008
Posts: 3,318
Default

There are multiple issues you need to resolve.
Quote:
Originally Posted by wlm2 View Post
More over the thinking is to allow sharing between the wireless card and the network card on my laptop.
This means that the laptop needs to transfer packets from the wireless interface to an Ethernet interface. This can either be done by routing or bridging. If the laptop is running OpenBSD &:
  • If you are wanting packets to be transferred through the laptop as a bridge, study Section 6.9 of the FAQ.
  • If you are wanting packets to be tranferred through routing, then study Section 6.2.7 of the FAQ.
Quote:
Somehow I dont accept any address in VR0,No communication between the two cards in the laptop .( no route between them)
Most likely, your ISP only provides a single IP address. You can have multiple hosts on your internal subnet use this single IP address, but you will need to configure the laptop to be a NAT server as well. OpenBSD can do this through pf(4). It is highly recommended that you study the PF User's Guide to learn how to configure your router to provide network address translation (NAT).

Likewise, you will need to enable routing as discussed before. The route(8) manpage can be your friend.

Lastly, in order to connect multiple hosts to this router/gateway, you will either need to configure all internal hosts with static IP addresses or configure a DHCP server. You can set this up on your router. Study Section 6.4 of the FAQ. The internal hosts will not be able to use your ISP's DHCP server if NAT is configured.

If your laptop is running an operating system other than OpenBSD, then this is the wrong forum to be asking.


Last edited by ocicat; 24th August 2011 at 10:57 PM.
Reply With Quote