When you explicitly pass the address *and* netmask you are effectively dealing with class-less routing. The class only matters in the router or tools have to assume the netmask.
My internal net is 10.0.0.0/255.0.0.0, but I have that split into a number of 256 address subnets. The internet router is on 10.1.1.1/24 then I have static routes configured in the internet router for the other subnets to go via my internal netbsd gateway.
I not really understand what u mean but i can understand when ip addresss *and* with netmask.
How come i still cannot function properly with a correct settings ? can u check my configuration.
A billion thnaks for your help and merry christmas.
I willing to do so as lon as you all can provide me a solution.
Multiples interface cannot have same subnet mask. IS it true ? I have internal and wilress.
Thanks.
Location: Asia Pacific, Cyberspace, in the Dark Dystopia
Posts: 19,118
Thanks Given: 2,351
Thanked 3,359 Times in 1,878 Posts
Quote:
Originally Posted by Peter_APIIT
Multiples interface cannot have same subnet mask. IS it true ?
Thanks.
First, you need to correct your spelling if you are going to post here. Correct spelling is one of our rules. Why? So when people search using key words, they can actually get hits. Incorrectly spelled keywords to not match.
Second, you are incorrect in your understanding of subnet masks. There is no reason that muliple interfaces cannot have the same subnet mask.
For example, you should have your two internal interfaces as:
Notice that the subnet masks are the same, only the network address changes.
Maybe you should pause and go buy a book on TCP/IP and learn the basics?
Late configuration :
/etc/hostname.rl1 : inet 176.16.10.2 255.255.255.0 NONE(Internal wired Interface)
/etc/hostname.ral0 : inet 192.168.2.2 255.255.255.0 NONE (Wireless)
/etc/dhcpd.conf :
subnet 176.16.10.0 netmask 255.255.255.0 option routers 176.16.10.1 range 176.16.10.10 176.16.10.12; (Wired)
subnet 192.168.2.0 netmask 255.255.255.0 option routers 192.168.2.1 range 192.168.2.3 192.168.2.3;
Ping 176.16.10.1 and 192.168.2.1 Host is down.
Desktop -> 176.16.10.1 Request time out
Laptop -> 192.168.2.1 Request time out Both laptop and desktop can get ip address from dhcpd server openbsd but cannot ping the gateway.
Thanks for your help.
I hope you all can help me out. I have borrow a book from library.
Routing Tables :
For the both wired and wireless interface, no G flags in the routing table. This seems that the interface is not act as gateway for my internal network.
How to solve this ? I need oyur help. Your help is really appreciated by me and others.
Dear friends
I use RedHat 6.5, which sets the gateway in the configuration file / etc / sysconfig / network as GATEWAY = 192.168.1.26, and the gateway in the configuration file / etc / sysconfig / network-scripts / ifcfg-eth11 as GATEWAY = 192.168.1.256. The two gateways are different.... (6 Replies)
hi folks,
i have a horstbox-router with the following configuration.
it has 4 ethernet ports from wich one (wan0) is configured as an external modem via dhcp. at this port/interface(wan0) it is connected with my home network (other switch).
this configuration results in the following... (14 Replies)
I have Ubuntu linux Os with two eth cards. I can easily delete def gatewayg. But I can't add new one.. :confused::confused:
When I run route-n:
alperen@alperen-System-Product-Name:~$ route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use... (1 Reply)
Dear Sir
I am a newbie in the world of IP telephony. I have been working with Asterisk PBX (SIP) and Cisco Call Manager (MGCP) but now I am learning on how to work GNUGK for H.323 Gatekeeper.
I am having a problem, configuring static call routing on GNUGK
in the section
... (0 Replies)
Hi,
I have OPENBSD 4.6 installed as a VM in Virtual Box on my Ubuntu 9.10 machine.
Problem is that the XWindows will not start when I boot my OPENBSD VM.
I am new to OPENBSD. How do I fix this problem? (5 Replies)
hello ,
I wondered if anyone could assist me in writing a simple packet filter firewall on my OpenBSD v4.5.
All I intend doing is to have two firewalling machine on a separate network :
192.168.1.1
ext_if = xl0 (dhcp) // Internet interface
int_if=xl1 // Internatl interface
... (0 Replies)
I am an eight year Linux user and after getting into an argument with someone about OpenBSD overiding my theory that OS security is 50% OS and 50% admin skill, I decided to try OpenBSD for myself. I've tried BSDs before and haven't been able to get into them for day to dy use, but I am going to... (7 Replies)
I have the DNS files set up on my OpenBSD 4.0 amd64 system however when I run named, I get the following error in my logs:
Sep 23 10:43:03 grunty named: starting BIND 9.3.2-P1
Sep 23 10:43:03 grunty named: /etc/named.conf:25: change directory to '/var/named' failed: file not found
Sep 23... (2 Replies)
hi
I have two hhd's. One is primary disk which holds the OpenBSD system and the other is my download disk (disk2).
I formatted disk2 in "ffs" type. And created a "disklabel", wd1a.
The disklabel program says "No change made", but I can see the changes by "p" command.
I cannot mount my disk2!... (1 Reply)
Please help. I have downloaded the openbsd 2.9 snapshot from ftp.openbsd.org. the following files were downloaded from the snapshot dir. ( the whole dir. was downloaded ) base29,bsd,bsd.rd,cdrom29.fs,cksum,comp29,etc29,all three floppy images,game29,index,install.ata,install.chs... (11 Replies)