<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
  <META NAME="GENERATOR" CONTENT="GtkHTML/3.12.0">
</HEAD>
<BODY>
I suspect there's a formatting problem - when I tried to copy that script from the html page it came out a little strange.<BR>
Instead of ;; I got  . . on one line and , , on the next.<BR>
<BR>
Without seeing your script it's hard to guess - but I'd take a careful look at the various quote marks and make sure that they are matched.<BR>
Here's the script I'm using - it works in a similar vein<BR>
<BR>
You'll need to copy it into /etc/init.d and make sure that it's owned and readable and executable by root<BR>
<BR>
chkconfig virt-network --add<BR>
chkconfig virt-network on<BR>
service virt-network start<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
On Sat, 2007-03-24 at 14:15 +0530, Deependra Shekhawat wrote:<BR>
<BLOCKQUOTE TYPE=CITE>
    <FONT COLOR="#000000">Hello guys,</FONT><BR>
    <BR>
    <FONT COLOR="#000000">I am using Redhat Enterprise Linux 5 with Xen. Now I have a laptop on which RHEL5 is installed. I read the docs related to Xen on redhat's website where in the troubleshooting section they say to create a dummy0 network interface and bridge xenbr0 to dummy0 and finally NAT'ing  dummy0 so that it can access the public net. </FONT><BR>
    <FONT COLOR="#000000">Well I tried that article and I created a dummy0 interface as told in there and also bridged dummy0 to xenbr0 in /etc/xen/xend-config.sxp but I am getting problem in configuring NAT'ing (so that I can access the public network from within the virtual machine). </FONT><BR>
    <FONT COLOR="#000000">I am using the script given here:</FONT><BR>
    <FONT COLOR="#000000"><A HREF="https://www.redhat.com/docs/manuals/enterprise/RHEL-5-manual/Virtualization-en-US/ch-virt-laptop-configurations.html">https://www.redhat.com/docs/manuals/enterprise/RHEL-5-manual/Virtualization-en-US/ch-virt-laptop-configurations.html</A></FONT><BR>
    <BR>
    <FONT COLOR="#000000">When I run the script I get these two errors:</FONT><BR>
    <FONT COLOR="#000000">./S99XenLaptopNAT: line 21: unexpected EOF while looking for matching `"'</FONT><BR>
    <FONT COLOR="#000000">./S99XenLaptopNAT: line 24: syntax error: unexpected end of file </FONT><BR>
    <BR>
    <BR>
    <FONT COLOR="#000000">Regards</FONT><BR>
    <FONT COLOR="#000000">Deependra</FONT><BR>
    <FONT COLOR="#000000">-- </FONT><BR>
    <FONT COLOR="#000000">Enjoy Life ! </FONT>
<PRE>
<FONT COLOR="#000000">--</FONT>
<FONT COLOR="#000000">Fedora-xen mailing list</FONT>
<FONT COLOR="#000000"><A HREF="mailto:Fedora-xen@redhat.com">Fedora-xen@redhat.com</A></FONT>
<FONT COLOR="#000000"><A HREF="https://www.redhat.com/mailman/listinfo/fedora-xen">https://www.redhat.com/mailman/listinfo/fedora-xen</A></FONT>
</PRE>
</BLOCKQUOTE>
<TABLE CELLSPACING="0" CELLPADDING="0" WIDTH="100%">
<TR>
<TD>
<TABLE CELLSPACING="0" CELLPADDING="0" WIDTH="100%">
<TR>
<TD>
<PRE>
--

Andrew Cathrow
Red Hat, Inc.

(678) 733 0452 - Mobile
(404) 437 6178 - Home Office

<A HREF="mailto:acathrow@redhat.com">acathrow@redhat.com</A>
</PRE>
</TD>
</TR>
</TABLE>
</TD>
</TR>
</TABLE>
</BODY>
</HTML>