![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| IP Networking Questions involving TCP/IP, Routers, Hubs, Network protocols, etc go here. |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| BSD Release: OpenBSD 4.3 | iBot | Software Releases - RSS News | 0 | 04-30-2008 08:20 PM |
| BSD Release: OpenBSD 4.3 | iBot | Software Releases - RSS News | 0 | 04-30-2008 06:20 PM |
| Trying to get into OpenBSD | deckard | BSD | 6 | 03-15-2005 05:43 PM |
| OpenBSD : mount problem | fnoyan | BSD | 1 | 09-18-2004 09:26 AM |
| please help with openbsd 2.9 | Blunt_Killer | UNIX for Dummies Questions & Answers | 11 | 06-24-2001 07:15 AM |
|
|
Submit Tools | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#8
|
|||
|
|||
|
I really a stupid peson.
Quote:
Quote:
Quote:
Therefore, i just create one gateway for wired and wireless. Why linksys router only need on egateway address when have wired and wireless ? I really a stupid person. Thanks for your help. Your help is greatly appreciated by me and others. |
| Forum Sponsor | ||
|
|
|
#9
|
|||
|
|||
|
First of all, plan your network.
Make a table as follows.... Code:
interface network netmask broadcast address (a) name of the interface, eg rt0 etc (b) the network it will be connected to, eg 192.168.1.0/24 (c) the netmask it will use, eg 255.255.255.0 (d) the broadcast address it will use, eg 192.168.1.255 (e) the address this interface will have on this network, eg 192.168.1.1 do this for every interface. If the interface is to be configured by DHCP then write DHCP in the address column. Once you have done that determine the address of your default route and which interface is connected to that address. If the network/netmask don't tally with the gateway you will not talk to it. To configure a static address use ifconfig rt0 inet 192.168.1.1 netmask 255.255.255.0 read the following.... man ifconfig man ifconfig.if man mygate man resolv.conf |
|
#10
|
|||
|
|||
|
Do u ask me to change my setting to class C address ? I think i don't need /etc/mygate because my rl0(external interface) is configured dhcp by my ISP.
I have hostname.rl1 and hostnameral0 for wired and wireless connection. What i need to do in order to troubleshoot the problem ? By the way , thanks for oyur help. You are really a helpful gu becuase no one willing to help me out except you. A billion thanks for your help. |
|
#11
|
|||
|
|||
|
Quote:
What happens if you type "route show 0.0.0.0". For example my router is configured on it's outside leg by the ISP, but the inside subnet is all DHCP that it manages. I use a static IP address within that subnet. The router then does NAT onto the outside world. I have mygate (default route) point at the IP address of the router. Quote:
type "ifconfig -a" In terms of where to spend the effort right now, it is get the rl0 interface talking to your router. Quick question, are you absolutely sure you have rl0 and rl1 the right way round? |
|
#12
|
|||
|
|||
|
I pretty sure tha rl0(External interface) because i can connect to internet through this interface.
rl1(Internal interface) to internal LAN. My rl1 is never configure and doesn't have any address. The others have address such as rl0, ral0 and tun0. Route show : Destination Gateway Flags Refs Use Mtu Interface default 219.93.218.177 UGS 2 2083 - tun0 localhost localhost UH 0 2 33224 lo0 192.168.124 link#1 UC 1 0 - rl0 192.168.1.1 Hardwrae add UHLc 0 18 - rl0 192.168.2/24 link#3 UC 1 0 - ral0 192.168.2.3 Hardware add UH 1 0 1492 tun0 |
|
#13
|
|||
|
|||
|
After i have manually configured rl1 by ifconfig inet 192.168.1.2 netmask 255.255.255.0 . I can get the ip address at boot time.
Output of ifconfig -a | less : rl0(External interface) 192.168.1.2 /24 rl1 - 192.168.1.2 /24 ral0 : 192.168.2.2 /24 Does my rl0 will crash with rl1 ? /etc/hostname.rl1 inet 192.168.1.2 /24 NONE /etc/hostname.ral0 inet 192.168.2.2 /24 NONE media autoselect \mediaopt hostap /etc/dhcpd.conf subnet-network LOCAL-NET { subnet 192.168.1.0 netmask 255.255.255.0 { option routers 192.168.1.1; I worried rl0 will crash with rl1. Therefore, i change it to 182.168.1.5 . range 192.168.1.3 192.168.1.5;}} shared-network WIRELESS-NET { subnet 192.168.2.0 netmask 255.255.255.0 { optio routers 192.168.2.1; range 192.168.2.3 192.168.2.5; }} Last edited by Peter_APIIT; 12-22-2007 at 10:04 PM. |
|
#14
|
|||
|
|||
|
My understanding is your router is on the same subnet as rl0, what is the address of your router, this should be the same as your default gateway or "mygate".
Then you rl0 subnet address range must include this gateway address. So let's just sort out rl0, make sure you can ping the router and the router replies. The next step is confirm you can ping an address beyond the router. You may want to set up /etc/resolv.conf so that either (a) you use a name server beyond the router (b) you use the router as the nameserver itself as long as it does DNS proxy. |
|||
| Google The UNIX and Linux Forums |