Article View: aus.computers.linux
Article #58003Re: Dummy Nets
From: Terry Dawson
Date: Thu, 08 Aug 1996 00:00
Date: Thu, 08 Aug 1996 00:00
30 lines
1354 bytes
1354 bytes
Joseph Mckinnon (s303842@student.uq.edu.au) wrote: : I've been looking intothe how-2-do docs trying to find reference to : setting up a dummy network. My problem is tat I have no network adaptor : but I have included dummy net support in the kernel and have networking : enabled and etc..... Check to make sure dummy support is compiled into your kernel: cat /proc/net/dev | grep dummy ifconfig dummy0 nnn.nnn.nnn.nnn route add -host nnn.nnn.nnn.nnn dummy0 .. should show a dummy0 and a dummy1 I recall. If you modularised it you may have to load the module first. : The problme is with some code I'm working on that is client/server and : uses sockets for coms....works perfectly if i'm connected to my : isp....when not connected no work.... : any ideas? Yeh, use the loopback interface. It will do just about everything you'll need it to do: ifconfig lo 127.0.0.1 up route add -host 127.0.0.1 lo regards Terry
Technical Details
Message-ID:
<4uccbc$up@cdn_news.telecom.com.au>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<4u0tg6$sl5@hobyah.cc.uq.oz.au>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 102983,6ca97cf86ec8c96a X-Google-Attributes: gid102983,public From: terry@baldric.no.itg.telecom.com.au (Terry Dawson) Subject: Re: Dummy Nets Date: 1996/08/08 Message-ID: <4uccbc$up@cdn_news.telecom.com.au> X-Deja-AN: 172882024 references: <4u0tg6$sl5@hobyah.cc.uq.oz.au> organization: Telstra newsgroups: aus.computers.linux